mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2024-11-25 04:51:13 +00:00
35 lines
1.3 KiB
YAML
35 lines
1.3 KiB
YAML
version: '3.3'
|
|
|
|
services:
|
|
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:
|
|
# - dev # or use dev for testing purposes
|
|
#labels:
|
|
# - traefik.enable=true
|
|
# - 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
|
|
# - traefik.docker.network=proxy
|
|
# # Part for optional traefik middlewares
|
|
# - traefik.http.routers.transfer.middlewares=local-ipwhitelist@file
|
|
|
|
#networks:
|
|
# dev: # or use dev for testing purposes
|
|
# external: true
|