sysfiles/opt/kanboard/docker-compose.yml

47 lines
1 KiB
YAML
Raw Normal View History

2022-12-07 21:39:45 +01:00
version: "3.0"
2022-12-07 21:00:35 +01:00
networks:
kanboard:
external: false
services:
server:
2024-02-03 17:35:56 +01:00
image: kanboard/kanboard:v1.2.35
2022-12-07 21:00:35 +01:00
restart: always
environment:
DATABASE_URL: postgres://${POSTGRES_USER}:${POSTGRES_PASSWORD}@db/${POSTGRES_DB}
MAIL_TRANSPORT: smtp
MAIL_SMTP_HOSTNAME: mail.jilits.se
MAIL_SMTP_PORT: 587
MAIL_SMTP_USERNAME: ${SMTP_USER}
MAIL_SMTP_PASSWORD: ${SMTP_PASS}
MAIL_SMTP_ENCRYPTION: tls
MAIL_SMTP_HELO_NAME: board.jilits.se
MAIL_FROM: Kanboard <board@jilits.se>
networks:
- kanboard
volumes:
- kanboard_data:/var/www/app/data
- kanboard_plugins:/var/www/app/plugins
ports:
- "8001:80"
depends_on:
- db
db:
2024-02-03 17:35:56 +01:00
image: postgres:15.5-alpine3.19
2022-12-07 21:00:35 +01:00
restart: always
environment:
POSTGRES_DB: ${POSTGRES_DB}
POSTGRES_USER: ${POSTGRES_USER}
POSTGRES_PASSWORD: ${POSTGRES_PASSWORD}
networks:
- kanboard
volumes:
- db:/var/lib/postgresql/data
volumes:
kanboard_data:
kanboard_plugins:
db: