-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathdocker-compose.prod.yml
More file actions
31 lines (30 loc) · 943 Bytes
/
docker-compose.prod.yml
File metadata and controls
31 lines (30 loc) · 943 Bytes
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
version: '3.8'
services:
frontend:
image: maplefighters/frontend:2.0.0
environment:
REACT_APP_ENV: Production
REMOVE_CF_IPS: "false"
ports:
- 80:80
- 443:443
depends_on:
- game-service
volumes:
- /etc/letsencrypt/live/maplefighters.io/server.crt:/etc/nginx/ssl/server.crt
- /etc/letsencrypt/live/maplefighters.io/server.key:/etc/nginx/ssl/server.key
game-service:
image: maplefighters/game-service:2.0.0
restart: "on-failure"
expose:
- 50051
environment:
URL: wss://0.0.0.0:50051
FLECK_LOG: Info
IM_LOG: Debug
GAME_LOG: Debug
CONFIG_SOURCE: v2.0
MAX_CONNECTIONS: 100
CERT_PASSWORD: ""
volumes:
- /etc/letsencrypt/live/maplefighters.io/server.pfx:/app/server.pfx