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

66 lines
2.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:
2022-09-19 08:01:06 +00:00
- ${APP_DATA_DIR}/data/uploads:/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
# Storage path
- FILE_DIR=/uploads
2022-09-12 12:18:06 +00:00
depends_on:
- send-redis
2022-09-09 13:13:45 +00:00
labels:
feat: app configs local domains (#713) * feat(pairdrop): change config to support local domain * feat(paperless-ngx): change config to support local domain * feat(peppermint): change config to support local domain * feat(photoprism): change config to support local domain * feat(pihole): change config to support local domain * feat(plausible): change config to support local domain * feat(plex): change config to support local domain * feat(podfetch): change config to support local domain * feat(portainer): change config to support local domain * feat(privatebin): change config to support local domain * feat(prowlarr): change config to support local domain * feat(proxitok): change config to support local domain * feat(qbittorrent): change config to support local domain * feat(radarr): change config to support local domain * feat(readarr): change config to support local domain * feat(resilio-sync): change config to support local domain * feat(romm): change config to support local domain * feat(rss): change config to support local domain * feat(sabnzbd): change config to support local domain * feat(searxng): change config to support local domain * feat(send): change config to support local domain * feat(simplex-smp): change config to support local domain * feat(sonarr): change config to support local domain * feat(syncthing): change config to support local domain * feat(tasks-md): change config to support local domain * feat(tautulli): change config to support local domain * feat(teddit): change config to support local domain * feat(transmission): change config to support local domain * feat(tubearchivist): change config to support local domain * feat(umami): change config to support local domain * feat(uptime-kuma): change config to support local domain * feat(vaultwarden): change config to support local domain * feat(vikunja): change config to support local domain * feat(wg-easy): change config to support local domain * feat(wikijs): change config to support local domain * feat(wizarr): change config to support local domain * feat(your-spotify): change config to support local domain * chore: labels formatting issues
2023-06-18 16:02:29 +00:00
# Main
traefik.enable: true
traefik.http.middlewares.send-web-redirect.redirectscheme.scheme: https
traefik.http.services.send.loadbalancer.server.port: 1443
# Web
traefik.http.routers.send-insecure.rule: Host(`${APP_DOMAIN}`)
traefik.http.routers.send-insecure.entrypoints: web
traefik.http.routers.send-insecure.service: send
traefik.http.routers.send-insecure.middlewares: send-web-redirect
# Websecure
2022-09-09 13:13:45 +00:00
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
feat: app configs local domains (#713) * feat(pairdrop): change config to support local domain * feat(paperless-ngx): change config to support local domain * feat(peppermint): change config to support local domain * feat(photoprism): change config to support local domain * feat(pihole): change config to support local domain * feat(plausible): change config to support local domain * feat(plex): change config to support local domain * feat(podfetch): change config to support local domain * feat(portainer): change config to support local domain * feat(privatebin): change config to support local domain * feat(prowlarr): change config to support local domain * feat(proxitok): change config to support local domain * feat(qbittorrent): change config to support local domain * feat(radarr): change config to support local domain * feat(readarr): change config to support local domain * feat(resilio-sync): change config to support local domain * feat(romm): change config to support local domain * feat(rss): change config to support local domain * feat(sabnzbd): change config to support local domain * feat(searxng): change config to support local domain * feat(send): change config to support local domain * feat(simplex-smp): change config to support local domain * feat(sonarr): change config to support local domain * feat(syncthing): change config to support local domain * feat(tasks-md): change config to support local domain * feat(tautulli): change config to support local domain * feat(teddit): change config to support local domain * feat(transmission): change config to support local domain * feat(tubearchivist): change config to support local domain * feat(umami): change config to support local domain * feat(uptime-kuma): change config to support local domain * feat(vaultwarden): change config to support local domain * feat(vikunja): change config to support local domain * feat(wg-easy): change config to support local domain * feat(wikijs): change config to support local domain * feat(wizarr): change config to support local domain * feat(your-spotify): change config to support local domain * chore: labels formatting issues
2023-06-18 16:02:29 +00:00
# Local domain
traefik.http.routers.send-local-insecure.rule: Host(`send.${LOCAL_DOMAIN}`)
traefik.http.routers.send-local-insecure.entrypoints: web
traefik.http.routers.send-local-insecure.service: send
traefik.http.routers.send-local-insecure.middlewares: send-web-redirect
# Local domain secure
traefik.http.routers.send-local.rule: Host(`send.${LOCAL_DOMAIN}`)
traefik.http.routers.send-local.entrypoints: websecure
traefik.http.routers.send-local.service: send
traefik.http.routers.send-local.tls: true
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: 5s
2022-09-09 13:43:59 +00:00
timeout: 3s
retries: 30
2022-09-19 08:01:06 +00:00
networks:
- tipi_main_network