From 0c3284af879520688f7cad57c90b701275b20f3c Mon Sep 17 00:00:00 2001 From: root Date: Sun, 9 Aug 2020 22:13:40 +0200 Subject: [PATCH] =?UTF-8?q?Bookstack=20hinzugef=C3=BCgt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bookstack/docker-compose.yml | 48 ++++++++++++++++++++++++++++++++++++ 1 file changed, 48 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..13b0873 --- /dev/null +++ b/bookstack/docker-compose.yml @@ -0,0 +1,48 @@ +version: '3' + +services: + + bookstack: + image: linuxserver/bookstack:latest + restart: "always" + container_name: bookstack + networks: + - intern + - web + ports: + - 80 + environment: + #MYSQL_HOST: maria105master:3306 + #MYSQL_PASSWORD: 'mu4Ga8TeOo' + #MYSQL_DATABASE: bookstack + #MYSQL_USER: bowiki + DB_HOST: maria105master:3306 + DB_DATABASE: bookstack + DB_USERNAME: bowiki + DB_PASSWORD: mu4Ga8TeOo + MYSQL_INITDB_SKIP_TZINFO: 1 + APP_URL: https://wiki.juliuslab.de + labels: + - "traefik.enable=true" + - "traefik.http.routers.bookstack.entrypoints=http" + - "traefik.http.routers.bookstack.rule=Host(`wiki.juliuslab.de`)" + - "traefik.http.routers.bookstack.middlewares=https-redirect@file" + - "traefik.http.routers.bookstack-sec.entrypoints=https" + - "traefik.http.routers.bookstack-sec.middlewares=default-headers@file" + - "traefik.http.routers.bookstack-sec.rule=Host(`wiki.juliuslab.de`)" + - "traefik.http.routers.bookstack-sec.tls=true" + - "traefik.http.routers.bookstack-sec.tls.options=myTLSOptions@file" + - "traefik.http.routers.bookstack-sec.tls.certresolver=le" + + volumes: + - /srv/docker/data/bookstack:/config + external_links: + - maria105master + + +networks: + intern: + external: true + web: + external: true +