docker-compose.yml
unknown
plain_text
3 years ago
1.1 kB
3
Indexable
version: "3.6" services: product : container_name: product build: './api-product' ports: - 9910:9910 env_file: - .env volumes: - ./api-product:/usr/src/app/api-product # links: # - egateway user : container_name: user build: './api-user' ports: - 9920:9920 env_file: - .env volumes: - ./api-user:/usr/src/app/api-user # links: # - egateway egateway: container_name: egateway build: './api-gateway' restart: always ports: - 8080:8080 # expose: # - 80 # environment: # - SERVICE_NAME=egateway # - VIRTUAL_HOST=api.touta.hub # - VIRTUAL_PORT=80 # volumes: # - ./api-gateway:/usr/src/app/api-gateway depends_on: - user networks: default: external: name: nginx-proxy
Editor is loading...