APP_BASE_URL default (config, .env.example, both compose files) is now https://conchecker.scoutitsystems.com with no port, so review-required and final-report email links use the public site. CI bakes the short commit SHA into the image as APP_BUILD via a Docker build-arg; /health returns version+build and the site header shows the build so it's easy to confirm which image is deployed. Local runs default to 'dev'.
29 lines
803 B
YAML
29 lines
803 B
YAML
# Production compose: pull the image built by Gitea Actions instead of building locally.
|
|
#
|
|
# docker login gitea.scoutitsystems.com
|
|
# IMAGE_TAG=latest docker compose -f docker-compose.prod.yml up -d
|
|
#
|
|
# Set IMAGE_TAG to a release tag (e.g. v0.1.0) or sha-abc1234 from CI.
|
|
|
|
services:
|
|
app:
|
|
image: gitea.scoutitsystems.com/woogi/conflict-checker:${IMAGE_TAG:-latest}
|
|
ports:
|
|
- "${PORT:-8099}:8099"
|
|
env_file:
|
|
- backend/.env
|
|
environment:
|
|
APP_BASE_URL: ${APP_BASE_URL:-https://conchecker.scoutitsystems.com}
|
|
volumes:
|
|
- uploads:/app/backend/uploads
|
|
- outputs:/app/backend/outputs
|
|
- llm_cache:/app/backend/.llm_cache
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
restart: unless-stopped
|
|
|
|
volumes:
|
|
uploads:
|
|
outputs:
|
|
llm_cache:
|