CI / test (push) Failing after 1m37s
- Dockerfile: copie du code avant installation (le package installé n'est plus vide — I6), utilisateur non-root, HEALTHCHECK - compose: version: obsolète retiré, variables d'auth, healthcheck - pyproject: version 0.2.0, jinja2 <4, config pytest - LICENSE (MIT), CHANGELOG 0.2.0, README réécrit (configuration, sécurité, API, tests), .dockerignore
26 lines
795 B
YAML
26 lines
795 B
YAML
services:
|
|
kanbante:
|
|
build: .
|
|
container_name: kanbante
|
|
ports:
|
|
- "8080:8080"
|
|
environment:
|
|
- GITEA_URL=${GITEA_URL:-https://git.dracodev.net}
|
|
- GITEA_TOKEN=${GITEA_TOKEN}
|
|
- KANBANTE_DB_PATH=/data/kanbante.db
|
|
# Strongly recommended: without these, the app is unauthenticated.
|
|
- KANBANTE_AUTH_USER=${KANBANTE_AUTH_USER:-}
|
|
- KANBANTE_AUTH_PASSWORD=${KANBANTE_AUTH_PASSWORD:-}
|
|
- KANBANTE_REQUIRE_AUTH=${KANBANTE_REQUIRE_AUTH:-0}
|
|
volumes:
|
|
- kanbante_data:/data
|
|
restart: unless-stopped
|
|
healthcheck:
|
|
test: ["CMD", "python", "-c", "import urllib.request; urllib.request.urlopen('http://127.0.0.1:8080/api/health', timeout=4)"]
|
|
interval: 30s
|
|
timeout: 5s
|
|
start_period: 10s
|
|
|
|
volumes:
|
|
kanbante_data:
|