Jafner.net/homelab/server/config/send/docker-compose.yml

43 lines
980 B
YAML
Raw Normal View History

2022-05-13 20:06:49 -07:00
version: '3'
services:
send:
image: registry.gitlab.com/timvisee/send:latest
container_name: send_send
restart: always
networks:
2022-05-13 20:28:49 -07:00
- send
2022-05-13 20:06:49 -07:00
- web
volumes:
- ${DOCKER_DATA}/uploads:/uploads
environment:
2022-05-13 20:12:23 -07:00
- VIRTUAL_HOST=0.0.0.0
2022-05-13 20:06:49 -07:00
- VIRTUAL_PORT=1234
- DHPARAM_GENERATION=false
- NODE_ENV=production
- BASE_URL=${SEND_BASE_URL}
- PORT=1234
- REDIS_HOST=redis
- FILE_DIR=/uploads
2022-07-09 23:43:57 -07:00
- MAX_FILE_SIZE=42949672960
2022-05-13 20:06:49 -07:00
labels:
- traefik.http.routers.send.rule=Host(`send.jafner.net`)
- traefik.http.routers.send.tls.certresolver=lets-encrypt
2022-05-13 20:12:23 -07:00
- traefik.http.services.send.loadbalancer.server.port=1234
2022-07-08 22:21:51 -07:00
- traefik.http.routers.send.middlewares=authentik@file
2022-05-13 20:12:23 -07:00
2022-05-13 20:06:49 -07:00
redis:
image: 'redis:alpine'
2022-05-13 20:12:55 -07:00
container_name: send_redis
2022-05-13 20:28:49 -07:00
networks:
- send
2022-05-13 20:06:49 -07:00
restart: always
volumes:
- send-redis:/data
volumes:
send-redis:
2022-05-13 20:07:28 -07:00
networks:
web:
2022-05-13 20:28:49 -07:00
external: true
send: