From 4b89a114788b105eca5c1c2ec1b907a1b2648e02 Mon Sep 17 00:00:00 2001 From: Phil Date: Mon, 12 Feb 2024 21:19:01 +0100 Subject: [PATCH] =?UTF-8?q?bookstack/docker-compose.yml=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bookstack/docker-compose.yml | 42 ++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 bookstack/docker-compose.yml diff --git a/bookstack/docker-compose.yml b/bookstack/docker-compose.yml new file mode 100644 index 0000000..9fd1281 --- /dev/null +++ b/bookstack/docker-compose.yml @@ -0,0 +1,42 @@ +version: '3' +services: + db: + image: mariadb:latest + environment: + - MYSQL_ROOT_PASSWORD=password! + - MYSQL_DATABASE=bookstack + - MYSQL_USER=bookstack + - MYSQL_PASSWORD=password + volumes: + - db:/var/lib/mysql + + bookstack: + image: solidnerd/bookstack:latest + depends_on: + - db + environment: + - DB_HOST=db:3306 + - DB_DATABASE=bookstack + - DB_USERNAME=bookstack + - DB_PASSWORD=password + - APP_URL=https://docs.changeme.com + - APP_KEY=generateanrandom32string + - MAIL_DRIVER=smtp + - MAIL_HOST=mail.changeme.com + - MAIL_PORT=587 + - MAIL_ENCRYPTION=tls + - MAIL_USERNAME=info@changeme.com + - MAIL_PASSWORD=changeme-password + - MAIL_FROM=info@changeme.com + - MAIL_FROM_NAME=docs.changeme.com + - APP_PROXIES=10.101.0.1 # use your reverse proxy ip + volumes: + - uploads:/var/www/bookstack/public/uploads + - storage:/var/www/bookstack/storage/uploads + ports: + - "8080:8080" + +volumes: + db: + uploads: + storage: \ No newline at end of file