Files
darroyo fb021b165b
CI / Build Native (push) Successful in 6m17s
ci: point Docker registry at internal Gitea (10.5.0.195:3000)
Cut the dependency on the public hostname gitea.danielarroyo.cl and
push straight to the LAN Gitea instance. Internal Gitea is plain HTTP,
so the docker daemon on the LXC needs 'insecure-registries' set, and
the gitea-runner-lxc has to be re-registered against the new URL
(separate manual steps; not in this repo).

- ci.yml: docker login, both docker tag, both push_with_retry, and
  docker logout now target 10.5.0.195:3000
- compose.yaml: image URL switched to 10.5.0.195:3000

The CI workflow itself, the Dockerfile, and the build command are
unchanged - only the registry target moved.
2026-08-14 18:29:08 -04:00

26 lines
725 B
YAML

services:
shot-crafter:
image: 10.5.0.195:3000/proyectos/shot-crafter-calculator:latest
container_name: shot-crafter
restart: unless-stopped
ports:
- "8080:8080"
environment:
QUARKUS_HTTP_HOST: 0.0.0.0
QUARKUS_HTTP_PORT: 8080
QUARKUS_DATASOURCE_JDBC_URL: jdbc:h2:file:/work/data/shots;DB_CLOSE_DELAY=-1
APP_AUTH_COOKIE_SECURE: "false"
APP_AUTH_COOKIE_NAME: auth-token
volumes:
- shot-crafter-data:/work/data
healthcheck:
test: ["CMD", "curl", "-fsS", "--max-time", "5", "http://localhost:8080/q/health/live"]
interval: 30s
timeout: 5s
retries: 3
start_period: 30s
volumes:
shot-crafter-data:
name: shot-crafter-data