Initial commit
This commit is contained in:
22
compose.prod.yml
Normal file
22
compose.prod.yml
Normal file
@@ -0,0 +1,22 @@
|
||||
services:
|
||||
game:
|
||||
build:
|
||||
context: .
|
||||
environment:
|
||||
NODE_ENV: production
|
||||
PORT: 3000
|
||||
ports:
|
||||
- "127.0.0.1:17979:3000"
|
||||
restart: unless-stopped
|
||||
healthcheck:
|
||||
test:
|
||||
- CMD
|
||||
- wget
|
||||
- --quiet
|
||||
- --tries=1
|
||||
- --spider
|
||||
- http://127.0.0.1:3000/health
|
||||
interval: 30s
|
||||
timeout: 3s
|
||||
retries: 3
|
||||
start_period: 10s
|
||||
Reference in New Issue
Block a user