vps/send/docker-compose.yaml
2024-02-12 11:39:14 +01:00

31 lines
746 B
YAML

services:
send:
container_name: send
build: https://gitlab.com/timvisee/send.git
image: send
restart: always
user: '1003:1003'
environment:
- BASE_URL=https://send.viyurz.fr
- REDIS_HOST=send-redis
# To customize upload limits
# - EXPIRE_TIMES_SECONDS=3600,86400,604800,2592000,31536000
# - DEFAULT_EXPIRE_SECONDS=3600
# - MAX_EXPIRE_SECONDS=31536000
# - DOWNLOAD_COUNTS=1,2,5,10,15,25,50,100,1000
# - MAX_DOWNLOADS=1000
# - MAX_FILE_SIZE=2684354560
ports:
- '[::1]:1443:1443'
volumes:
- /mnt/send:/uploads
redis:
container_name: send-redis
image: redis:alpine
restart: always
volumes:
- redis:/data
volumes:
redis: