Last active
March 14, 2020 14:11
-
-
Save WilfredLemus/5ee3c0fd477f3a6631cb9f13957f4d07 to your computer and use it in GitHub Desktop.
Kanboard
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
kanboard: | |
image: kanboard/kanboard:latest | |
ports: | |
- "80:80" | |
- "443:443" | |
volumes: | |
- /var/lib/kanboard/data/:/var/www/app/data | |
- /var/lib/kanboard/plugins/:/var/www/app/plugins | |
environment: | |
DATABASE_URL: mysql://kanboard:kanboard-secret@db/kanboard | |
db: | |
image: mariadb:latest | |
command: --default-authentication-plugin=mysql_native_password | |
environment: | |
MYSQL_ROOT_PASSWORD: secret | |
MYSQL_DATABASE: kanboard | |
MYSQL_USER: kanboard | |
MYSQL_PASSWORD: kanboard-secret | |
volumes: | |
- /var/lib/kanboard/mysql/:/var/lib/mysql |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '2' | |
services: | |
db_kanboard: | |
container_name: db_kanboard | |
restart: unless-stopped | |
image: mariadb:latest | |
environment: | |
MYSQL_ROOT_PASSWORD: kanboardGY123@ | |
MYSQL_DATABASE: kanboard | |
MYSQL_USER: kanboarduser | |
MYSQL_PASSWORD: kanboardGY123@ | |
volumes: | |
- /var/lib/kanboard/mysql/:/var/lib/mysql | |
ports: | |
- 3307:3306 | |
kanboard: | |
container_name: kanboard | |
restart: unless-stopped | |
image: kanboard/kanboard:latest | |
depends_on: | |
- db_kanboard | |
links: | |
- db_kanboard:mysql | |
environment: | |
INSTALL_SECRET: 123 | |
MYSQL_HOST: mysql | |
MYSQL_PASSWORD: kanboardGY123@ | |
CRON_INTERVAL: 1 | |
volumes: | |
- /var/lib/kanboard/data/:/var/www/app/data | |
- /var/lib/kanboard/plugins/:/var/www/app/plugins | |
ports: | |
- 8081:80 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo mkdir -p /var/lib/kanboard/{data,plugins,mysql} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment