mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2024-11-24 20:41:14 +00:00
09b96160f8
add missing traefik labels
59 lines
1.8 KiB
YAML
59 lines
1.8 KiB
YAML
version: "3"
|
|
|
|
services:
|
|
bookstack:
|
|
image: linuxserver/bookstack
|
|
container_name: bookstack
|
|
hostname: bookstack
|
|
environment:
|
|
- PUID=1000
|
|
- PGID=1000
|
|
- APP_URL=http://127.0.0.1:8099 # change this to your prod url with https
|
|
- DB_HOST=bookstack_db
|
|
- DB_USER=bookstack
|
|
- DB_PASS=USERPW1
|
|
- DB_DATABASE=bookstackapp
|
|
volumes:
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/bookstack/config:/config
|
|
restart: unless-stopped
|
|
ports:
|
|
- 8099:80
|
|
depends_on:
|
|
- bookstack_db
|
|
#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
|
|
|
|
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
|
|
volumes:
|
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/bookstack/mariadb-config:/config
|
|
restart: unless-stopped
|
|
#networks:
|
|
# - proxy
|
|
|
|
#networks:
|
|
# proxy:
|
|
# external: true
|