app-store/apps/send/docker-compose.yml

44 lines
1.1 KiB
YAML
Raw Normal View History

2022-09-09 13:13:45 +00:00
version: "3.7"
services:
send:
image: registry.gitlab.com/timvisee/send:latest
container_name: send
restart: unless-stopped
dns:
- ${DNS_IP}
ports:
- ${APP_PORT}:1443
networks:
- tipi_main_network
volumes:
- ${APP_DATA_DIR}/data:/uploads
2022-09-09 13:43:59 +00:00
environment:
- NODE_ENV=production
# Networking
2022-09-09 20:36:33 +00:00
- BASE_URL=${APP_PROTOCOL:-http}://${APP_DOMAIN}
2022-09-09 13:43:59 +00:00
# Redis
- REDIS_HOST=send-redis
# Storage Limit
- MAX_FILE_SIZE=2147483648
2022-09-12 12:18:06 +00:00
depends_on:
- send-redis
2022-09-09 13:13:45 +00:00
labels:
traefik.enable: ${APP_EXPOSED}
traefik.http.routers.send.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.send.entrypoints: websecure
traefik.http.routers.send.service: send
traefik.http.routers.send.tls.certresolver: myresolver
traefik.http.services.send.loadbalancer.server.port: 1443
2022-09-09 20:36:33 +00:00
2022-09-09 13:43:59 +00:00
send-redis:
image: redis:alpine
container_name: send-redis
restart: unless-stopped
volumes:
- ${APP_DATA_DIR}/data/redis:/data
healthcheck:
test: ["CMD", "redis-cli", "ping"]
interval: 1s
timeout: 3s
retries: 30