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

36 lines
806 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:
- 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
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-05-13 20:06:49 -07:00
redis:
image: 'redis:alpine'
restart: always
volumes:
- send-redis:/data
volumes:
send-redis:
2022-05-13 20:07:28 -07:00
networks:
web:
external: true