1
0
mirror of https://github.com/Haxxnet/Compose-Examples synced 2024-12-24 19:20:20 +00:00
Compose-Examples/examples/transfer.sh/docker-compose.yml

34 lines
1.3 KiB
YAML
Raw Normal View History

2023-08-01 13:52:46 +00:00
services:
2023-08-01 13:52:46 +00:00
transfer:
image: dutchcoders/transfer.sh:latest-noroot
container_name: transfer
hostname: transfer
restart: unless-stopped
ports:
- 8080:8080/tcp
expose:
- 8080
volumes:
- ${DOCKER_VOLUME_STORAGE:-/mnt/docker-volumes}/transfer:/tmp
command:
- --provider=local
- --basedir=/tmp/
#networks:
# - proxy
2023-08-01 13:52:46 +00:00
#labels:
# - traefik.enable=true
# - traefik.docker.network=proxy
2023-08-01 13:52:46 +00:00
# - traefik.http.routers.transfer.rule=Host(`transfer.example.com`)
# - traefik.http.services.transfer.loadbalancer.server.port=8080
# - traefik.http.middlewares.limit.buffering.maxRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads
# - traefik.http.middlewares.limit.buffering.maxResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads
# - traefik.http.middlewares.limit.buffering.memRequestBodyBytes=50000000 # optional, only necessary for enabled file uploads
# - traefik.http.middlewares.limit.buffering.memResponseBodyBytes=50000000 # optional, only necessary for enabled file uploads
# # Part for optional traefik middlewares
# - traefik.http.routers.transfer.middlewares=local-ipwhitelist@file
#networks:
# proxy:
2023-08-01 13:52:46 +00:00
# external: true