mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2024-11-24 04:21:14 +00:00
Update docker-compose.yml
add missing traefik labels
This commit is contained in:
parent
ad378cf5bf
commit
09b96160f8
|
@ -20,6 +20,20 @@ services:
|
|||
- 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
|
||||
|
@ -36,3 +50,9 @@ services:
|
|||
volumes:
|
||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/bookstack/mariadb-config:/config
|
||||
restart: unless-stopped
|
||||
#networks:
|
||||
# - proxy
|
||||
|
||||
#networks:
|
||||
# proxy:
|
||||
# external: true
|
||||
|
|
Loading…
Reference in New Issue
Block a user