Feature: Staging-Workflow — develop-Branch, make staging/release, APP_VERSION 1.0.0, Staging-Banner — SW by-v513

This commit is contained in:
rene 2026-04-29 19:57:33 +02:00
parent 9d3f902014
commit 041af92306
7 changed files with 100 additions and 14 deletions

View file

@ -0,0 +1,23 @@
services:
banyaro-staging:
build: .
container_name: banyaro-staging
restart: on-failure:3
ports:
- "3012:8000"
volumes:
- ./data:/data
env_file:
- .env
environment:
- DB_PATH=/data/banyaro.db
- MEDIA_DIR=/data/media
- STAGING=true
- VAPID_PUBLIC_KEY=BMKbFAmpsqJ-eFef_4XJcYpuxPWqBNAoy9buMNnMSa6ijcPzltboHi_YccPKJrUD0isBez-vJIzAgjnLTWkzcC0
- VAPID_PRIVATE_KEY=8PWa9vvwMqtqsJEJGcwmiLhR0_Yl7duVX3wmWiKS878
- VAPID_CONTACT=mailto:admin@banyaro.app
healthcheck:
test: ["CMD", "python3", "-c", "import urllib.request; urllib.request.urlopen('http://localhost:8000/')"]
interval: 30s
timeout: 10s
retries: 3