Files
code-crispies/compose.yaml
Michael Czechowski bf20e9d39e
Some checks failed
CI / ci (push) Failing after 1s
Deploy / deploy (push) Failing after 1s
ci: update runner-image + repo path to public/ namespace
Repos moved to public/ on Gitea: public/runner-image (CI image)
and public/code-crispies (this repo). Updates workflow image refs,
spec hyperlinks, README, and compose tags.
2026-04-30 11:54:06 +02:00

32 lines
824 B
YAML

name: cc
# Default behaviour:
# - On dev (no CC_IMAGE in env): build from local context.
# - On netcup (CC_IMAGE pinned in /srv/cc/.env to the published Gitea
# package): pull the image and skip the build context entirely.
# The Gitea deploy workflow pushes git.librete.ch/public/code-crispies:main
# on every main push.
services:
cc:
build:
context: .
args:
VITE_SUPABASE_URL: ${VITE_SUPABASE_URL}
VITE_SUPABASE_ANON_KEY: ${VITE_SUPABASE_ANON_KEY}
image: ${CC_IMAGE:-cc:local}
pull_policy: ${CC_PULL_POLICY:-missing}
restart: always
networks:
- edge
healthcheck:
test: ['CMD-SHELL', 'wget -qO- http://127.0.0.1/health || exit 1']
interval: 30s
timeout: 5s
retries: 3
start_period: 10s
networks:
edge:
external: true