diff --git a/kanboard/docker-compose.yml b/kanboard/docker-compose.yml new file mode 100644 index 0000000..e504cf7 --- /dev/null +++ b/kanboard/docker-compose.yml @@ -0,0 +1,30 @@ +version: '3' +services: + kanboard: + restart: always + image: kanboard/kanboard + logging: + options: + max-file: "3" + max-size: "10m" + volumes: + - ./data:/var/www/app/data + - ./plugins:/var/www/app/plugins + - ./ssl:/etc/nginx/ssl + environment: + DATABASE_URL: ${DATABASE_URL} + db: + restart: always + image: mariadb:latest + command: --default-authentication-plugin=mysql_native_password + logging: + options: + max-file: "3" + max-size: "10m" + environment: + MYSQL_ROOT_PASSWORD: ${MYSQL_ROOT_PASSWORD} + MYSQL_DATABASE: ${MYSQL_DATABASE} + MYSQL_USER: ${MYSQL_USER} + MYSQL_PASSWORD: ${MYSQL_PASSWORD} + volumes: + - ./db:/var/lib/mysql