-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose.yml
30 lines (29 loc) · 1.02 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
version: '3.7'
services:
gateway:
build:
context: ./../graphql_gateway
dockerfile: Dockerfile
restart: always
container_name: gateway
expose:
- 8080
ports:
- "8080:8080"
environment:
GATEWAY_HOSTNAME: "0.0.0.0"
GATEWAY_PORT: "8080"
COURSE_SERVICE_URL: http://app-course:2001/graphql
MEDIA_SERVICE_URL: http://app-media:3001/graphql
CONTENT_SERVICE_URL: http://app-content:4001/graphql
USER_SERVICE_URL: http://app-user:5001/graphql
FLASHCARD_SERVICE_URL: http://app-flashcard:6001/graphql
REWARD_SERVICE_URL: http://app-reward:7001/graphql
SKILLLEVEL_SERVICE_URL: http://app-skilllevel:8001/graphql
QUIZ_SERVICE_URL: http://app-quiz:9001/graphql
DOCPROCAI_SERVICE_URL: http://app-docprocai:9901/graphql/
DEBUG: 0
extra_hosts:
# Required for Docker on Linux to resolve host.docker.internal to machine's localhost
# Source: https://stackoverflow.com/a/24326540
- "host.docker.internal:host-gateway"