27 lines
487 B
YAML
27 lines
487 B
YAML
version: '3.8'
|
|
|
|
services:
|
|
dashboard-app-prod:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile.prod
|
|
ports:
|
|
- '3010:80'
|
|
environment:
|
|
- NODE_ENV=production
|
|
env_file:
|
|
- .env.prod
|
|
restart: unless-stopped
|
|
networks:
|
|
- dashboard-network
|
|
healthcheck:
|
|
test: ['CMD', 'curl', '-f', 'http://localhost/']
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 40s
|
|
|
|
networks:
|
|
dashboard-network:
|
|
driver: bridge
|