-
-
Notifications
You must be signed in to change notification settings - Fork 273
/
docker-compose.yml
33 lines (31 loc) · 1.27 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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:
# - proxy
#labels:
# - traefik.enable=true
# - traefik.docker.network=proxy
# - 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:
# external: true