mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2025-03-25 23:19:53 +00:00
Update docker-compose.yml
add optional traefik and network definitions
This commit is contained in:
parent
536e66e304
commit
4ef83f58a1
@ -2,16 +2,35 @@ version: "3"
|
|||||||
|
|
||||||
services:
|
services:
|
||||||
pwndrop:
|
pwndrop:
|
||||||
|
image: linuxserver/pwndrop:latest
|
||||||
container_name: pwndrop
|
container_name: pwndrop
|
||||||
environment:
|
environment:
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=100
|
- PGID=1000
|
||||||
- TZ=Europe/Berlin
|
- TZ=Europe/Berlin
|
||||||
- SECRET_PATH=pwndrop # secret path your admin mgmt interface will be
|
- SECRET_PATH=pwndrop # secret path your admin mgmt interface will be
|
||||||
image: linuxserver/pwndrop:latest
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
ports:
|
ports:
|
||||||
- 8080:8080
|
- 8080:8080
|
||||||
|
expose:
|
||||||
|
- 8080
|
||||||
volumes:
|
volumes:
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/pwndrop/config:/config
|
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/pwndrop/config:/config
|
||||||
|
#networks:
|
||||||
|
# - proxy
|
||||||
|
#labels:
|
||||||
|
# - traefik.enable=true
|
||||||
|
# - traefik.http.routers.pwndrop.rule=Host(`pwndrop.example.com`)
|
||||||
|
# - traefik.http.services.pwndrop.loadbalancer.server.port=8080
|
||||||
|
# - traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=50000000 # optional, only necessary for file uploads; allow 50MB
|
||||||
|
# - traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=50000000 # optional, only necessary for file uploads; allow 50MB
|
||||||
|
# - traefik.http.middlewares.limit.buffering.memRequestBodyBytes=50000000 # optional, only necessary for file uploads; allow 50MB
|
||||||
|
# - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=50000000 # optional, only necessary for file uploads; allow 50MB
|
||||||
|
# - traefik.docker.network=proxy
|
||||||
|
# # Part for optional traefik middlewares
|
||||||
|
# - traefik.http.routers.pwndrop.middlewares=local-ipwhitelist@file,authelia@file,basic-auth@file
|
||||||
|
|
||||||
|
#networks:
|
||||||
|
# proxy:
|
||||||
|
# external: true
|
||||||
|
Loading…
x
Reference in New Issue
Block a user