mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2025-01-18 07:17:05 +00:00
Update docker-compose.yml
add missing traefik labels
This commit is contained in:
parent
09b96160f8
commit
116a9cdf43
|
@ -1,6 +1,7 @@
|
|||
---
|
||||
version: "2.1"
|
||||
|
||||
services:
|
||||
|
||||
code-server:
|
||||
image: lscr.io/linuxserver/code-server:latest
|
||||
container_name: code-server
|
||||
|
@ -18,3 +19,21 @@ services:
|
|||
ports:
|
||||
- 8443:8443
|
||||
restart: unless-stopped
|
||||
#networks:
|
||||
# - proxy
|
||||
#labels:
|
||||
# - traefik.enable=true
|
||||
# - traefik.docker.network=proxy
|
||||
# - traefik.http.routers.codeserver.rule=Host(`code.example.com`)
|
||||
# - traefik.http.services.codeserver.loadbalancer.server.port=8443
|
||||
# # 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.codeserver.middlewares=local-ipwhitelist@file,authelia@docker
|
||||
|
||||
#networks:
|
||||
# proxy:
|
||||
# external: true
|
||||
|
|
Loading…
Reference in New Issue
Block a user