Feature: Staging-Workflow — develop-Branch, make staging/release, APP_VERSION 1.0.0, Staging-Banner — SW by-v513
This commit is contained in:
parent
9d3f902014
commit
041af92306
7 changed files with 100 additions and 14 deletions
23
docker-compose.staging.yml
Normal file
23
docker-compose.staging.yml
Normal 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
|
||||
Loading…
Add table
Add a link
Reference in a new issue