Untitled
version: '3.8' services: redis: image: 'redis:latest' ports: - '6379:6379' networks: app-network: ipv4_address: 192.168.224.2 authenticate: build: context: . dockerfile: ./apps/authenticate/Dockerfile target: production env_file: - .env - ./apps/authenticate/.env - ./apps/authenticate/.env.production ports: - '8080:8080' stdin_open: true tty: true networks: app-network: ipv4_address: 192.168.224.4 common: build: context: . dockerfile: ./apps/common/Dockerfile target: production env_file: - .env - ./apps/common/.env - ./apps/common/.env.production ports: - '8081:8081' stdin_open: true tty: true volumes: - shared_data:/shared_data networks: app-network: ipv4_address: 192.168.224.3 ia: build: context: . dockerfile: ./apps/ia/Dockerfile target: production env_file: - .env - ./apps/ia/.env - ./apps/ia/.env.production ports: - '8888:8888' # environment: # DATABASE_HOST: 172.16.10.21 stdin_open: true tty: true # depends_on: # - mysql-server volumes: - shared_data:/shared_data networks: app-network: ipv4_address: 192.168.224.10 gateway: build: context: . dockerfile: ./apps/gateway/Dockerfile depends_on: - authenticate - common - ia ports: - 8079:80 networks: app-network: ipv4_address: 192.168.224.7 volumes: shared_data: networks: app-network: driver: bridge ipam: config: - subnet: 192.168.224.0/20
Leave a Comment