2023-02-15 21:45:31 +00:00
|
|
|
services:
|
2024-11-04 12:08:51 +00:00
|
|
|
|
2023-02-15 21:45:31 +00:00
|
|
|
bookstack:
|
|
|
|
image: linuxserver/bookstack
|
|
|
|
container_name: bookstack
|
|
|
|
hostname: bookstack
|
|
|
|
environment:
|
|
|
|
- PUID=1000
|
|
|
|
- PGID=1000
|
2024-02-15 20:48:02 +00:00
|
|
|
- APP_URL=http://127.0.0.1:8099 # change this to your prod url with https
|
2023-02-15 21:45:31 +00:00
|
|
|
- DB_HOST=bookstack_db
|
|
|
|
- DB_USER=bookstack
|
|
|
|
- DB_PASS=USERPW1
|
|
|
|
- DB_DATABASE=bookstackapp
|
|
|
|
volumes:
|
2023-02-25 13:09:52 +00:00
|
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/bookstack/config:/config
|
2023-02-15 21:45:31 +00:00
|
|
|
restart: unless-stopped
|
|
|
|
ports:
|
|
|
|
- 8099:80
|
2024-11-04 12:08:51 +00:00
|
|
|
expose:
|
|
|
|
- 80
|
2023-02-15 21:45:31 +00:00
|
|
|
depends_on:
|
|
|
|
- bookstack_db
|
2024-02-15 21:54:45 +00:00
|
|
|
#networks:
|
|
|
|
# - proxy
|
|
|
|
#labels:
|
|
|
|
# - traefik.enable=true
|
|
|
|
# - traefik.docker.network=proxy
|
|
|
|
# - traefik.http.routers.bookstack.rule=Host(`bookstack.example.com`)
|
|
|
|
# - traefik.http.services.bookstack.loadbalancer.server.port=80
|
|
|
|
# # Optional part for file upload max sizes
|
|
|
|
# - traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=50000000
|
|
|
|
# - traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=50000000
|
|
|
|
# - traefik.http.middlewares.limit.buffering.memRequestBodyBytes=50000000
|
|
|
|
# - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=50000000
|
|
|
|
# # Optional part for traefik middlewares
|
|
|
|
# - traefik.http.routers.bookstack.middlewares=local-ipwhitelist@file,authelia@docker
|
2023-02-15 21:45:31 +00:00
|
|
|
|
|
|
|
bookstack_db:
|
|
|
|
image: linuxserver/mariadb
|
|
|
|
container_name: bookstack_db
|
|
|
|
hostname: bookstack_db
|
|
|
|
environment:
|
|
|
|
- PUID=1000
|
|
|
|
- PGID=1000
|
|
|
|
- MYSQL_ROOT_PASSWORD=ROOTPW
|
|
|
|
- TZ=Europe/Berlin
|
|
|
|
- MYSQL_DATABASE=bookstackapp
|
|
|
|
- MYSQL_USER=bookstack
|
|
|
|
- MYSQL_PASSWORD=USERPW1
|
2024-11-04 12:08:51 +00:00
|
|
|
expose:
|
|
|
|
- 3306
|
2023-02-15 21:45:31 +00:00
|
|
|
volumes:
|
2023-02-25 13:09:52 +00:00
|
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/bookstack/mariadb-config:/config
|
2023-02-15 21:45:31 +00:00
|
|
|
restart: unless-stopped
|
2024-02-15 21:54:45 +00:00
|
|
|
#networks:
|
|
|
|
# - proxy
|
|
|
|
|
|
|
|
#networks:
|
|
|
|
# proxy:
|
|
|
|
# external: true
|