-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.prod.yml
35 lines (32 loc) · 1.05 KB
/
docker-compose.prod.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
31
32
33
34
35
version: '2'
services:
gameApi:
image: ${REGISTRY_USER}/guesstimoji-game-api:latest
#expose:
# - 5000
# ports (HOST:CONTAINER)
# the application running inside is exposed at port CONTAINER
# this step seems to make expose redundant
# map it through host server port HOST
# can access with http://{host IP}:HOST
ports:
- '5001:5001'
graphQlApi:
image: ${REGISTRY_USER}/guesstimoji-graph-ql-api:latest
#expose:
# - 5000
# ports (HOST:CONTAINER)
# the application running inside is exposed at port CONTAINER
# this step seems to make expose redundant
# map it through host server port HOST
# can access with http://{host IP}:HOST
ports:
- '3005:3005'
reactApp:
image: ${REGISTRY_USER}/guesstimoji-react-app:latest
depends_on:
- graphQlApi
- gameApi
ports:
- '80:80'
command: [nginx, '-g', 'daemon off;']