64 lines
1.9 KiB
YAML
64 lines
1.9 KiB
YAML
services:
|
|
planka:
|
|
image: ghcr.io/plankanban/planka:latest
|
|
command: >
|
|
bash -c
|
|
"for i in `seq 1 30`; do
|
|
./start.sh &&
|
|
s=$$? && break || s=$$?;
|
|
echo \"Tried $$i times. Waiting 5 seconds...\";
|
|
sleep 5;
|
|
done; (exit $$s)"
|
|
restart: on-failure
|
|
volumes:
|
|
- data:/app/data
|
|
ports:
|
|
- 3020:1337
|
|
environment:
|
|
- BASE_URL=https://task.scheidel.biz
|
|
- TRUST_PROXY=true
|
|
- DATABASE_URL=postgresql://postgres@postgres/planka
|
|
- SECRET_KEY=4ce1fa1037ec2746fe465b5b8407ffc8093ff12291396553be802293b03ad4333524a837a6eea84a9036ee16613fe7687ec1f5f91ab88a77250c08f11e244abc
|
|
- SMTP_HOST=smtp.strato.de
|
|
- SMTP_USER=michael.scheidel@scheidel.biz
|
|
- SMTP_PASSWORD=?EAM?Yes!01
|
|
- SMTP_PORT=587
|
|
- SMTP_SECURE=587
|
|
- SMTP_FROM="Planka Board Familie Scheidel" <michael.scheidel@scheidel.biz>
|
|
- OIDC_ISSUER=https://auth.scheidel.biz/application/o/planka/
|
|
- OIDC_CLIENT_ID=JfaumsMyJIqrsLq0ftTgx2FRr7M9eHhZBb7JznI5
|
|
- OIDC_CLIENT_SECRET=1OHy11NXaFY97pPkUPdmVutdN83WajxfS5T52MBdsjF3Hyr4ezlXBvh18Z8CiVPaCT4Gsy1IV2vamptsYTeW9al6jZMFwkfwKZ8EvDgQ41lODqylmFgrhGmIIZ3SkhRx
|
|
- OIDC_SCOPES=openid profile email
|
|
- OIDC_ADMIN_ROLES=planka-admin
|
|
- OIDC_IGNORE_ROLES=true
|
|
- OIDC_ENFORCED=true
|
|
- LOG_LEVEL=warn
|
|
- DEFAULT_LANGUAGE=de-DE
|
|
depends_on:
|
|
postgres:
|
|
condition: service_healthy
|
|
|
|
postgres:
|
|
image: postgres:18
|
|
restart: on-failure
|
|
volumes:
|
|
- db-data:/var/lib/postgresql
|
|
- backup:/backup
|
|
environment:
|
|
- POSTGRES_DB=planka
|
|
- POSTGRES_HOST_AUTH_METHOD=trust
|
|
healthcheck:
|
|
test: ["CMD-SHELL", "pg_isready -U postgres -d planka"]
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 5
|
|
|
|
volumes:
|
|
data:
|
|
#favicons:
|
|
#user-avatars:
|
|
#background-images:
|
|
#attachments:
|
|
db-data:
|
|
#db-data-16:
|
|
backup: |