mirror of
https://github.com/Theodor-Springmann-Stiftung/hamann-ausgabe-core.git
synced 2025-10-29 09:15:33 +00:00
Staging dockerfile
This commit is contained in:
24
docker-compose.staging.yml
Normal file
24
docker-compose.staging.yml
Normal file
@@ -0,0 +1,24 @@
|
|||||||
|
name: hamann-ausgabe-staging
|
||||||
|
services:
|
||||||
|
hamann-staging:
|
||||||
|
build: .
|
||||||
|
volumes:
|
||||||
|
- hamann_staging_data:/app/data
|
||||||
|
networks:
|
||||||
|
- caddy
|
||||||
|
environment:
|
||||||
|
- ASPNETCORE_URLS=http://+:5000
|
||||||
|
- DOTNET_ENVIRONMENT=Staging
|
||||||
|
- FileStoragePath=/app/data
|
||||||
|
- RepositoryBranch=main
|
||||||
|
- RepositoryURL=https://github.com/Theodor-Springmann-Stiftung/hamann-xml
|
||||||
|
- WebhookSecret=${WEBHOOK_SECRET:-}
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
volumes:
|
||||||
|
hamann_staging_data:
|
||||||
|
external: true
|
||||||
|
|
||||||
|
networks:
|
||||||
|
caddy:
|
||||||
|
external: true
|
||||||
@@ -1,11 +1,11 @@
|
|||||||
name: hamann-ausgabe
|
name: hamann-ausgabe
|
||||||
services:
|
services:
|
||||||
web:
|
hamann-service:
|
||||||
build: .
|
build: .
|
||||||
volumes:
|
volumes:
|
||||||
- hamann_data:/app/data
|
- hamann_data:/app/data
|
||||||
ports:
|
networks:
|
||||||
- "5000:5000"
|
- caddy
|
||||||
environment:
|
environment:
|
||||||
- ASPNETCORE_URLS=http://+:5000
|
- ASPNETCORE_URLS=http://+:5000
|
||||||
- DOTNET_ENVIRONMENT=Production
|
- DOTNET_ENVIRONMENT=Production
|
||||||
@@ -17,4 +17,8 @@ services:
|
|||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
hamann_data:
|
hamann_data:
|
||||||
external: true
|
external: true
|
||||||
|
|
||||||
|
networks:
|
||||||
|
caddy:
|
||||||
|
external: true
|
||||||
|
|||||||
Reference in New Issue
Block a user