admin/deploy/docker-compose.production.yml
alisaza e1eaf5eff5 feat: initial ghabilee-admin backoffice app
Extract admin dashboard from ghabilee-frontend2 into a dedicated Next.js
app for backoffice.ghabilee.ir (no SEO indexing / Clarity).
2026-09-05 13:12:59 +03:30

28 lines
606 B
YAML

name: ghabilee-admin
services:
ghabilee-admin:
image: ${ADMIN_IMAGE:?ADMIN_IMAGE is required}
container_name: ghabilee-admin
restart: unless-stopped
init: true
pids_limit: 256
cap_drop:
- ALL
security_opt:
- no-new-privileges:true
env_file:
- .env
environment:
NODE_ENV: production
PORT: "3000"
HOSTNAME: 0.0.0.0
ports:
- "127.0.0.1:${ADMIN_PORT:-3009}:3000"
healthcheck:
test: ["CMD", "wget", "-qO-", "http://127.0.0.1:3000/auth"]
interval: 30s
timeout: 5s
start_period: 30s
retries: 3