Skip to content

Commit 09b9616

Browse files
authored
Update docker-compose.yml
add missing traefik labels
1 parent ad378cf commit 09b9616

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

examples/bookstack/docker-compose.yml

+20
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,20 @@ services:
2020
- 8099:80
2121
depends_on:
2222
- bookstack_db
23+
#networks:
24+
# - proxy
25+
#labels:
26+
# - traefik.enable=true
27+
# - traefik.docker.network=proxy
28+
# - traefik.http.routers.bookstack.rule=Host(`bookstack.example.com`)
29+
# - traefik.http.services.bookstack.loadbalancer.server.port=80
30+
# # Optional part for file upload max sizes
31+
# - traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=50000000
32+
# - traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=50000000
33+
# - traefik.http.middlewares.limit.buffering.memRequestBodyBytes=50000000
34+
# - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=50000000
35+
# # Optional part for traefik middlewares
36+
# - traefik.http.routers.bookstack.middlewares=local-ipwhitelist@file,authelia@docker
2337

2438
bookstack_db:
2539
image: linuxserver/mariadb
@@ -36,3 +50,9 @@ services:
3650
volumes:
3751
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/bookstack/mariadb-config:/config
3852
restart: unless-stopped
53+
#networks:
54+
# - proxy
55+
56+
#networks:
57+
# proxy:
58+
# external: true

0 commit comments

Comments
 (0)