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

42 lines
1.7 KiB
YAML
Raw Normal View History

version: '3.9'
2024-01-05 14:30:25 +00:00
services:
seedsync:
2024-01-05 14:30:25 +00:00
container_name: seedsync
image: ipsingh06/seedsync:0.8.6
user: '${SEEDSYNC_PUID:-1000}:${SEEDSYNC_PGID:-1000}'
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 15:20:27 +00:00
- ${ROOT_FOLDER_HOST}/media/torrents/complete:/downloads
2024-01-05 14:30:25 +00:00
ports:
- ${APP_PORT}:8800
restart: unless-stopped
networks:
- 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: 8800
2024-01-05 14:30:25 +00:00
# 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