Files
accounted/docker-compose.yml
T
Jakob Wennberg f6a9889f0a fix: update Docker image name to match erp-mafia org
Repo moved from gnubok/gnubok to erp-mafia/erp-base. Updated GHCR image
reference in CI workflow and docker-compose.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-03 15:16:07 +01:00

30 lines
692 B
YAML

services:
app:
image: ghcr.io/erp-mafia/erp-base:latest
env_file: .env
ports:
- "${PORT:-3000}:3000"
security_opt:
- no-new-privileges:true
restart: unless-stopped
healthcheck:
test: ["CMD", "curl", "-f", "http://localhost:3000/api/health"]
interval: 30s
timeout: 5s
start_period: 10s
retries: 3
cron:
build:
context: docker
dockerfile: cron.Dockerfile
depends_on:
app:
condition: service_healthy
environment:
- CRON_SECRET=${CRON_SECRET}
- APP_URL=http://app:3000
volumes:
- ./docker/crontab.self-hosted:/etc/supercronic/crontab:ro
restart: unless-stopped