homelab/server/config/send/docker-compose.yml
2022-11-01 00:34:51 -07:00

43 lines
937 B
YAML

version: '3'
services:
send:
image: registry.gitlab.com/timvisee/send:latest
container_name: send_send
logging:
driver: loki
options:
loki-url: http://localhost:3100/loki/api/v1/push
loki-batch-size: "50"
loki-retries: "1"
loki-timeout: "2s"
keep-file: "true"
restart: "no"
networks:
- send
- web
volumes:
- ${DOCKER_DATA}/uploads:/uploads
env_file:
- send.env
labels:
- traefik.http.routers.send.rule=Host(`send.jafner.net`)
- traefik.http.routers.send.tls.certresolver=lets-encrypt
- traefik.http.services.send.loadbalancer.server.port=1234
#- traefik.http.routers.send.middlewares=
redis:
image: 'redis:alpine'
container_name: send_redis
networks:
- send
restart: "no"
volumes:
- send-redis:/data
volumes:
send-redis:
networks:
web:
external: true
send: