2024-01-05 14:30:25 +00:00
|
|
|
version: "3.9"
|
|
|
|
services:
|
2024-01-05 14:42:10 +00:00
|
|
|
seedsync:
|
2024-01-05 14:30:25 +00:00
|
|
|
container_name: seedsync
|
|
|
|
image: ipsingh06/seedsync:0.8.6
|
2024-01-05 14:55:52 +00:00
|
|
|
user: "${SEEDSYNC_PUID}:${SEEDSYNC_PGID}"
|
2024-01-05 14:30:25 +00:00
|
|
|
environment:
|
|
|
|
- TZ=${TZ}
|
|
|
|
volumes:
|
2024-01-05 14:37:49 +00:00
|
|
|
- ${APP_DATA_DIR}/data/config:/config
|
2024-01-05 14:30:25 +00:00
|
|
|
- ${APP_DATA_DIR}/media/torrents/complete:/downloads
|
|
|
|
ports:
|
|
|
|
- ${APP_PORT}:8800
|
|
|
|
restart: unless-stopped
|
|
|
|
networks:
|
2024-01-05 14:55:52 +00:00
|
|
|
- tipi_main_network
|
2024-01-05 14:30:25 +00:00
|
|
|
labels:
|
|
|
|
# Main
|
|
|
|
traefik.enable: true
|
|
|
|
traefik.http.middlewares.seedsync-web-redirect.redirectscheme.scheme: https
|
|
|
|
traefik.http.services.seedsync.loadbalancer.server.port: 8080
|
|
|
|
# Web
|
|
|
|
traefik.http.routers.seedsync-insecure.rule: Host(`${APP_DOMAIN}`)
|
|
|
|
traefik.http.routers.seedsync-insecure.entrypoints: web
|
|
|
|
traefik.http.routers.seedsync-insecure.service: seedsync
|
|
|
|
traefik.http.routers.seedsync-insecure.middlewares: seedsync-web-redirect
|
|
|
|
# Websecure
|
|
|
|
traefik.http.routers.seedsync.rule: Host(`${APP_DOMAIN}`)
|
|
|
|
traefik.http.routers.seedsync.entrypoints: websecure
|
|
|
|
traefik.http.routers.seedsync.service: seedsync
|
|
|
|
traefik.http.routers.seedsync.tls.certresolver: myresolver
|
|
|
|
# Local domain
|
|
|
|
traefik.http.routers.seedsync-local-insecure.rule: Host(`seedsync.${LOCAL_DOMAIN}`)
|
|
|
|
traefik.http.routers.seedsync-local-insecure.entrypoints: web
|
|
|
|
traefik.http.routers.seedsync-local-insecure.service: seedsync
|
|
|
|
traefik.http.routers.seedsync-local-insecure.middlewares: seedsync-web-redirect
|
|
|
|
# Local domain secure
|
|
|
|
traefik.http.routers.seedsync-local.rule: Host(`seedsync.${LOCAL_DOMAIN}`)
|
|
|
|
traefik.http.routers.seedsync-local.entrypoints: websecure
|
|
|
|
traefik.http.routers.seedsync-local.service: seedsync
|
|
|
|
traefik.http.routers.seedsync-local.tls: true
|