sysfiles/opt/kanboard/docker-compose.yml

47 lines
1.0 KiB
YAML

version: "3.0"
networks:
kanboard:
external: false
services:
server:
image: kanboard/kanboard:v1.2.35
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:
image: postgres:15.5-alpine3.19
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: