diff --git a/docker-compose.staging.yml b/docker-compose.staging.yml new file mode 100644 index 0000000..5001554 --- /dev/null +++ b/docker-compose.staging.yml @@ -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 \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 0616d30..178bb72 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,11 +1,11 @@ name: hamann-ausgabe services: - web: + hamann-service: build: . volumes: - hamann_data:/app/data - ports: - - "5000:5000" + networks: + - caddy environment: - ASPNETCORE_URLS=http://+:5000 - DOTNET_ENVIRONMENT=Production @@ -17,4 +17,8 @@ services: volumes: hamann_data: - external: true \ No newline at end of file + external: true + +networks: + caddy: + external: true