Browse Source

Bookstack hinzugefügt

master
root 5 years ago
parent
commit
0c3284af87
1 changed files with 48 additions and 0 deletions
  1. +48
    -0
      bookstack/docker-compose.yml

+ 48
- 0
bookstack/docker-compose.yml View File

@@ -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


Loading…
Cancel
Save