version: '3.8' services: dashboard: build: context: . dockerfile: Dockerfile container_name: sqdc-dashboard ports: - "8080:80" - "3001:3001" volumes: # Mount database directory for persistence - ./database:/app/database environment: - NODE_ENV=production restart: unless-stopped healthcheck: test: ["CMD", "wget", "--no-verbose", "--tries=1", "--spider", "http://localhost/"] interval: 30s timeout: 10s retries: 3 start_period: 40s networks: default: name: sqdc-network