homelab/server/config/send/docker-compose.yml
2022-05-13 20:06:49 -07:00

31 lines
704 B
YAML

version: '3'
services:
send:
image: registry.gitlab.com/timvisee/send:latest
container_name: send_send
restart: always
networks:
- web
volumes:
- ${DOCKER_DATA}/uploads:/uploads
environment:
- VIRTUAL_HOST=${HOST}
- VIRTUAL_PORT=1234
- DHPARAM_GENERATION=false
- NODE_ENV=production
- BASE_URL=${SEND_BASE_URL}
- PORT=1234
- REDIS_HOST=redis
- FILE_DIR=/uploads
labels:
- traefik.http.routers.send.rule=Host(`send.jafner.net`)
- traefik.http.routers.send.tls.certresolver=lets-encrypt
redis:
image: 'redis:alpine'
restart: always
volumes:
- send-redis:/data
volumes:
send-redis: