services: history: build: . image: history:latest restart: unless-stopped environment: - PORT=4321 # Live LLM (default) reads LLM_API_BASE / LLM_MODEL. Set LLM_STUB=1 to use # the deterministic stub instead (no model required). Both are optional env. # - LLM_STUB=1 networks: - dev_net volumes: - history-data:/app/data # Shared Traefik (dev_traefik) routing — see ../PROXY.md. Plain HTTP only; # TLS is terminated by the external proxy in front of this Traefik. labels: - "traefik.enable=true" - "traefik.http.routers.history.rule=Host(`history.dev.kkhost.pl`)" - "traefik.http.routers.history.entrypoints=web" - "traefik.http.services.history.loadbalancer.server.port=4321" networks: dev_net: external: true volumes: history-data: