name: project-nomad # Project N.O.M.A.D. management services Docker Compose configuration edited for unraid services: admin: image: ghcr.io/crosstalk-solutions/project-nomad:latest pull_policy: always container_name: nomad_admin restart: unless-stopped extra_hosts: - "host.docker.internal:host-gateway" ports: - "8080:8080" volumes: - /mnt/user/appdata/nomad/storage:/app/storage - /var/run/docker.sock:/var/run/docker.sock - nomad-update-shared:/app/update-shared environment: - NODE_ENV=production - PORT=8080 - LOG_LEVEL=info - APP_KEY=Replaceme - HOST=0.0.0.0 - URL=http://localhost:8080 - DB_HOST=mysql - DB_PORT=3306 - DB_DATABASE=nomad - DB_USER=nomad_user - DB_PASSWORD=Replaceme - DB_NAME=nomad - DB_SSL=false - REDIS_HOST=redis - REDIS_PORT=6379 depends_on: mysql: condition: service_healthy redis: condition: service_healthy healthcheck: test: ["CMD", "curl", "-f", "http://localhost:8080/api/health"] interval: 30s timeout: 10s retries: 3 dozzle: image: amir20/dozzle:v10.0 container_name: nomad_dozzle restart: unless-stopped ports: - "9999:8080" volumes: - /var/run/docker.sock:/var/run/docker.sock environment: - DOZZLE_ENABLE_ACTIONS=false - DOZZLE_ENABLE_SHELL=false mysql: image: mysql:8.0 container_name: nomad_mysql restart: unless-stopped environment: - MYSQL_ROOT_PASSWORD=Replaceme - MYSQL_DATABASE=nomad - MYSQL_USER=nomad_user - MYSQL_PASSWORD=Replaceme volumes: - /mnt/user/appdata/nomad/mysql:/var/lib/mysql healthcheck: test: ["CMD", "mysqladmin", "ping", "-h", "localhost"] interval: 30s timeout: 10s retries: 3 redis: image: redis:7-alpine container_name: nomad_redis restart: unless-stopped volumes: - /mnt/user/appdata/nomad/redis:/data healthcheck: test: ["CMD", "redis-cli", "ping"] interval: 30s timeout: 10s retries: 3 updater: image: ghcr.io/crosstalk-solutions/project-nomad-sidecar-updater:latest pull_policy: always container_name: nomad_updater restart: unless-stopped volumes: - /var/run/docker.sock:/var/run/docker.sock - /mnt/user/appdata/nomad:/opt/project-nomad - nomad-update-shared:/shared volumes: nomad-update-shared: driver: local