Jafner.net/homelab/stacks/send/docker-compose.yml
2024-08-28 12:14:19 -07:00

40 lines
998 B
YAML

services:
send:
image: registry.gitlab.com/timvisee/send:latest
user: 1001:1001
container_name: send_send
restart: "no"
networks:
- send
- web
environment:
VIRTUAL_HOST: 0.0.0.0
VIRTUAL_PORT: 1234
DHPARAM_GENERATION: false
NODE_ENV: production
BASE_URL: https://send.jafner.net
PORT: 1234
REDIS_HOST: redis
FILE_DIR: /uploads
MAX_FILE_SIZE: 42949672960 # 40 GiB
volumes:
- ${DOCKER_DATA}/uploads:/uploads
labels:
- traefik.http.routers.send.rule=Host(`send.jafner.net`)
- traefik.http.routers.send.tls.certresolver=lets-encrypt-dns01
- traefik.http.routers.send.tls.options=tls12@file
- traefik.http.routers.send.middlewares=securityheaders@file
- traefik.http.services.send.loadbalancer.server.port=1234
redis:
image: 'redis:alpine'
container_name: send_redis
networks:
- send
restart: "no"
networks:
web:
external: true
send: