version: "3.0" networks: kanboard: external: false services: server: container_name: kanboard image: kanboard/kanboard:v1.2.24 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 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.0-alpine3.16 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: