nex_design/docker-compose.yml

29 lines
569 B
YAML

version: '3.8'
services:
nex-design:
build:
context: .
dockerfile: Dockerfile
container_name: nex-design-app
restart: unless-stopped
ports:
- "3000:3000"
environment:
- NODE_ENV=production
volumes:
- ./logs:/app/logs
- ./docs:/app/dist/docs
networks:
- nex-network
healthcheck:
test: ["CMD", "wget", "--quiet", "--tries=1", "--spider", "http://localhost:3000"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
networks:
nex-network:
driver: bridge