RC-7
release-tag / release-image (push) Failing after 2m44s

This commit is contained in:
2026-08-11 16:58:07 +02:00
parent 185ccf1101
commit bcfbef390f
44 changed files with 4778 additions and 172 deletions
+65 -4
View File
@@ -1,6 +1,9 @@
services:
app:
build: .
image: ${NEURALHUNT_SERVER_IMAGE:-neuralhunt-server:local}
build:
context: .
dockerfile: Dockerfile.server
env_file:
- path: .env
required: false
@@ -9,15 +12,73 @@ services:
ARTIFACT_DIR: /data/artifacts
ports:
- "8080:8080"
# Admin is bound only to host loopback by default. A VPN/reverse proxy on
# the host can publish it privately; Docker-network proxies can use app:8081.
# Main-game admin/control plane. Route this only through VPN/private proxy.
- "127.0.0.1:8081:8081"
# Lets the optional ComfyUI/A1111 providers reach a UI running on the Docker host.
extra_hosts:
- "host.docker.internal:host-gateway"
volumes:
- neuralhunt_data:/data
networks:
- neuralhunt_backend
restart: unless-stopped
# Optional hosted commercial control plane. It is intentionally a separate
# image/process/database from the game server. Port 8090 is the customer
# portal; 8091 is private admin; 8092 is Docker-network-only registration.
customer-service:
profiles: ["hosted"]
image: ${NEURALHUNT_CUSTOMER_IMAGE:-neuralhunt-customer-service:local}
build:
context: .
dockerfile: Dockerfile.customer-service
env_file:
- path: .env
required: false
environment:
CUSTOMER_SQLITE_PATH: /customer-data/customer-service.db
CS_GAME_PUBLIC_URL: http://app:8080
CS_GAME_ADMIN_URL: http://app:8081
# The worker is a genuinely separate image now. Point this at any
# compatible prebuilt/published worker image. The Customer Service can
# auto-pull it when it is not present on the Docker host.
CS_WORKER_IMAGE: ${CS_WORKER_IMAGE:-neuralhunt-worker:local}
CS_WORKER_AUTO_PULL: ${CS_WORKER_AUTO_PULL:-true}
CS_WORKER_ENTRYPOINT: ${CS_WORKER_ENTRYPOINT:-}
CS_WORKER_NETWORK: neuralhunt_backend
CS_WORKER_REGISTER_URL: http://customer-service:8092/internal/workers/register
DOCKER_HOST: unix:///var/run/docker.sock
ports:
- "8090:8090"
- "127.0.0.1:8091:8091"
expose:
- "8092"
# Direct docker.sock access is powerful. For production, prefer a tightly
# scoped Docker Socket Proxy and point DOCKER_HOST at that proxy instead.
user: "0:0"
volumes:
- customer_data:/customer-data
- /var/run/docker.sock:/var/run/docker.sock
networks:
- neuralhunt_backend
depends_on:
- app
restart: unless-stopped
# Build-only helper. `docker compose --profile images build worker-image`
# creates/tags the third image without starting a hunting agent.
worker-image:
profiles: ["images"]
image: ${CS_WORKER_IMAGE:-neuralhunt-worker:local}
build:
context: .
dockerfile: Dockerfile.worker
entrypoint: ["/bin/true"]
restart: "no"
volumes:
neuralhunt_data: {}
customer_data: {}
networks:
neuralhunt_backend:
name: neuralhunt_backend