diff --git a/Project N.O.M.A.D on unraid/Project N.O.M.A.D on unraid.docx b/Project N.O.M.A.D on unraid/Project N.O.M.A.D on unraid.docx new file mode 100644 index 0000000..d92d253 Binary files /dev/null and b/Project N.O.M.A.D on unraid/Project N.O.M.A.D on unraid.docx differ diff --git a/Project N.O.M.A.D on unraid/Project N.O.M.A.D on unraid.pdf b/Project N.O.M.A.D on unraid/Project N.O.M.A.D on unraid.pdf new file mode 100644 index 0000000..7956fdf Binary files /dev/null and b/Project N.O.M.A.D on unraid/Project N.O.M.A.D on unraid.pdf differ diff --git a/Project N.O.M.A.D on unraid/Unraid-Compose.yml b/Project N.O.M.A.D on unraid/Unraid-Compose.yml new file mode 100644 index 0000000..245fcd2 --- /dev/null +++ b/Project N.O.M.A.D on unraid/Unraid-Compose.yml @@ -0,0 +1,100 @@ +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 \ No newline at end of file