Richte das Tsumugu-Deployment nach dem Kansho-Mechanismus ein.
Deploy Development / deploy (push) Failing after 27s
Deploy Production / deploy (push) Failing after 16s

Der Pi-Runner veröffentlicht develop nach tsumugu-dev und main nach tsumugu.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
LarsandCursor committed 2026-10-15 09:42:24 +02:00
commit 544c44ca04
17 files changed
+662

No files matched your search

+74
View File
@@ -0,0 +1,74 @@
# Server development stack: /home/lars/docker/tsumugu-dev
# No fixed container_name — Compose prefixes with the project name.
services:
postgres:
image: postgres:16-alpine
environment:
POSTGRES_DB: "${DB_NAME:-tsumugu_dev}"
POSTGRES_USER: "${DB_USER:-tsumugu_dev}"
POSTGRES_PASSWORD: "${DB_PASSWORD:-dev_password_change_me}"
volumes:
- dev-tsumugu-db-data:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U ${DB_USER:-tsumugu_dev} -d ${DB_NAME:-tsumugu_dev}"]
interval: 5s
timeout: 5s
retries: 10
restart: unless-stopped
networks:
- dev-tsumugu-network
backend:
build:
context: ./backend
dockerfile: Dockerfile
environment:
TSUMUGU_ENV: "${TSUMUGU_ENV:-development}"
DB_HOST: postgres
DB_PORT: "5432"
DB_NAME: "${DB_NAME:-tsumugu_dev}"
DB_USER: "${DB_USER:-tsumugu_dev}"
DB_PASSWORD: "${DB_PASSWORD:-dev_password_change_me}"
APP_URL: "${APP_URL:-https://dev.tsumugu.jinkendo.de}"
ALLOWED_ORIGINS: "${ALLOWED_ORIGINS:-https://dev.tsumugu.jinkendo.de,http://192.168.2.49:3095,http://localhost:3095}"
ports:
- "${TSUMUGU_BACKEND_PORT:-8095}:8000"
depends_on:
postgres:
condition: service_healthy
healthcheck:
test:
[
"CMD",
"python",
"-c",
"import urllib.request; urllib.request.urlopen('http://127.0.0.1:8000/api/health')",
]
interval: 10s
timeout: 5s
retries: 12
start_period: 20s
restart: unless-stopped
networks:
- dev-tsumugu-network
frontend:
build:
context: ./frontend
dockerfile: Dockerfile
ports:
- "${TSUMUGU_FRONTEND_PORT:-3095}:80"
depends_on:
backend:
condition: service_healthy
restart: unless-stopped
networks:
- dev-tsumugu-network
volumes:
dev-tsumugu-db-data:
networks:
dev-tsumugu-network:
driver: bridge