update docker files
This commit is contained in:
26
docker-compose.prod.yml
Normal file
26
docker-compose.prod.yml
Normal file
@@ -0,0 +1,26 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
dashboard-app-prod:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.prod
|
||||
ports:
|
||||
- '3009:80'
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
env_file:
|
||||
- .env.prod
|
||||
restart: unless-stopped
|
||||
networks:
|
||||
- dashboard-network
|
||||
healthcheck:
|
||||
test: ['CMD', 'curl', '-f', 'http://localhost/health']
|
||||
interval: 30s
|
||||
timeout: 10s
|
||||
retries: 3
|
||||
start_period: 40s
|
||||
|
||||
networks:
|
||||
dashboard-network:
|
||||
driver: bridge
|
||||
Reference in New Issue
Block a user