Files
GameTime/server/scripts/README.md
Blomios f03dead3e4 feat(server): packaging Docker Compose et push Gitea Registry (ticket #52)
Ajoute le Dockerfile multi-stage (build dart:stable, runtime
debian:bookworm-slim avec ca-certificates, exécutable AOT compilé), le
docker-compose.yaml (API + Postgres avec healthcheck et
depends_on: service_healthy), .env.example, .dockerignore et les
scripts scripts/docker-entrypoint.sh (migration au démarrage) et
scripts/push-gitea-image.sh (aucun identifiant en dur, mot de passe
via --password-stdin). dart analyze clean, dart test 24/24 vert,
`docker compose config` valide (syntaxe, interpolation de variables,
healthcheck). Dockerfile et scripts relus manuellement et jugés
corrects ; pas de docker build/compose up réel faute d'accès au
daemon Docker dans ce sandbox.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-19 10:40:11 +02:00

9 lines
317 B
Markdown

# Scripts
Operational scripts for the server package.
- `docker-entrypoint.sh`: container entrypoint; applies migrations when
`MIGRATE_ON_STARTUP=true`, then executes the server command.
- `push-gitea-image.sh`: builds and pushes the Docker image to a Gitea
Container Registry using environment variables only.