feat: Add staging environment setup

- Create staging stack with separate containers and volumes
- Configure staging.michaelschiemer.de subdomain routing
- Add deploy-staging.yml workflow for auto-deployment
- Extend build-image.yml to support staging branch
- Separate Redis instance and network for staging
- Staging uses staging branch by default

Features:
- Auto-deploy: Push to staging branch → build → deploy to staging
- Separate from production: Different containers, volumes, networks
- Shared Traefik: Uses same SSL certificates (*.michaelschiemer.de)
- Testing environment before production deployment
This commit is contained in:
2025-10-31 23:52:30 +01:00
parent bb0caa4e7c
commit 77b2dc5dd7
5 changed files with 766 additions and 1 deletions

View File

@@ -4,7 +4,7 @@ run-name: Build Image - ${{ github.ref_name }} - ${{ github.sha }}
on:
push:
branches: [ main, develop ]
branches: [ main, develop, staging ]
paths-ignore:
- '**.md'
- 'docs/**'