1
0
Fork 0
mirror of https://github.com/plankanban/planka.git synced 2025-07-18 20:59:44 +02:00
planka/docker-compose.yml

43 lines
1,014 B
YAML
Raw Normal View History

version: '3'
services:
planka:
image: meltyshev/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: unless-stopped
volumes:
2020-04-21 05:04:34 +05:00
- user-avatars:/app/public/user-avatars
2020-05-26 01:27:32 +05:00
- project-background-images:/app/public/project-background-images
2020-04-21 05:04:34 +05:00
- attachments:/app/public/attachments
ports:
- 3000:1337
environment:
- BASE_URL=http://localhost:3000
- TRUST_PROXY=0
- DATABASE_URL=postgresql://postgres@postgres/planka
- SECRET_KEY=notsecretkey
depends_on:
- postgres
postgres:
image: postgres:alpine
restart: unless-stopped
volumes:
- db-data:/var/lib/postgresql/data
environment:
- POSTGRES_DB=planka
2020-04-21 05:04:34 +05:00
- POSTGRES_HOST_AUTH_METHOD=trust
volumes:
2020-04-21 05:04:34 +05:00
user-avatars:
2020-05-26 01:27:32 +05:00
project-background-images:
2020-04-21 05:04:34 +05:00
attachments:
db-data: