23 lines
689 B
YAML
23 lines
689 B
YAML
services:
|
|
mega-dashboard:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
image: mega-infrastructure/dashboard:latest
|
|
container_name: mega-dashboard
|
|
restart: unless-stopped
|
|
ports:
|
|
- "3000:3000"
|
|
environment:
|
|
NODE_ENV: production
|
|
PORT: 3000
|
|
HOSTNAME: 0.0.0.0
|
|
NEXT_PUBLIC_APP_PIN: ${NEXT_PUBLIC_APP_PIN:-2468}
|
|
NEXT_PUBLIC_APP_NAME: ${NEXT_PUBLIC_APP_NAME:-MEGA INFRASTRUCTURE}
|
|
NEXT_PUBLIC_DEFAULT_THEME: ${NEXT_PUBLIC_DEFAULT_THEME:-light}
|
|
healthcheck:
|
|
test: ["CMD", "wget", "-q", "--spider", "http://127.0.0.1:3000/api/health"]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 40s
|