Jafner.net/homelab/stacks/send/docker-compose.yml

40 lines
998 B
YAML
Raw Normal View History

2022-05-13 20:06:49 -07:00
services:
send:
image: registry.gitlab.com/timvisee/send:latest
2024-02-15 01:05:32 -08:00
user: 1001:1001
2022-05-13 20:06:49 -07:00
container_name: send_send
restart: "no"
2022-05-13 20:06:49 -07:00
networks:
2022-05-13 20:28:49 -07:00
- send
2022-05-13 20:06:49 -07:00
- web
2024-08-28 12:14:19 -07:00
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
2024-02-15 01:05:32 -08:00
volumes:
- ${DOCKER_DATA}/uploads:/uploads
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-dns01
- traefik.http.routers.send.tls.options=tls12@file
- traefik.http.routers.send.middlewares=securityheaders@file
2022-05-13 20:12:23 -07:00
- traefik.http.services.send.loadbalancer.server.port=1234
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
restart: "no"
2022-05-13 20:07:28 -07:00
networks:
web:
2022-05-13 20:28:49 -07:00
external: true
2024-02-15 01:05:32 -08:00
send: