edec0d0ca4
* 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
84 lines
2.9 KiB
YAML
84 lines
2.9 KiB
YAML
version: "3.7"
|
|
|
|
services:
|
|
tubearchivist:
|
|
container_name: tubearchivist
|
|
restart: unless-stopped
|
|
image: bbilly1/tubearchivist:latest
|
|
volumes:
|
|
- ${ROOT_FOLDER_HOST}/media/data/youtube:/youtube
|
|
- ${APP_DATA_DIR}/data/cache:/cache
|
|
environment:
|
|
- ES_URL=http://tubearchivist-es:9200
|
|
- REDIS_HOST=tubearchivist-redis
|
|
- TA_USERNAME=${TA_USER}
|
|
- TA_PASSWORD=${TA_PASSWORD}
|
|
- TA_HOST=${APP_DOMAIN}
|
|
- ELASTIC_PASSWORD=${ELASTIC_PASSWORD}
|
|
depends_on:
|
|
- tubearchivist-es
|
|
- tubearchivist-redis
|
|
networks:
|
|
- tipi_main_network
|
|
dns:
|
|
- ${DNS_IP}
|
|
ports:
|
|
- ${APP_PORT}:8000
|
|
labels:
|
|
# Main
|
|
traefik.enable: true
|
|
traefik.http.middlewares.tubearchivist-web-redirect.redirectscheme.scheme: https
|
|
traefik.http.services.tubearchivist.loadbalancer.server.port: 8000
|
|
# Web
|
|
traefik.http.routers.tubearchivist-insecure.rule: Host(`${APP_DOMAIN}`)
|
|
traefik.http.routers.tubearchivist-insecure.entrypoints: web
|
|
traefik.http.routers.tubearchivist-insecure.service: tubearchivist
|
|
traefik.http.routers.tubearchivist-insecure.middlewares: tubearchivist-web-redirect
|
|
# Websecure
|
|
traefik.http.routers.tubearchivist.rule: Host(`${APP_DOMAIN}`)
|
|
traefik.http.routers.tubearchivist.entrypoints: websecure
|
|
traefik.http.routers.tubearchivist.service: tubearchivist
|
|
traefik.http.routers.tubearchivist.tls.certresolver: myresolver
|
|
# Local domain
|
|
traefik.http.routers.tubearchivist-local-insecure.rule: Host(`tubearchivist.${LOCAL_DOMAIN}`)
|
|
traefik.http.routers.tubearchivist-local-insecure.entrypoints: web
|
|
traefik.http.routers.tubearchivist-local-insecure.service: tubearchivist
|
|
traefik.http.routers.tubearchivist-local-insecure.middlewares: tubearchivist-web-redirect
|
|
# Local domain secure
|
|
traefik.http.routers.tubearchivist-local.rule: Host(`tubearchivist.${LOCAL_DOMAIN}`)
|
|
traefik.http.routers.tubearchivist-local.entrypoints: websecure
|
|
traefik.http.routers.tubearchivist-local.service: tubearchivist
|
|
traefik.http.routers.tubearchivist-local.tls: true
|
|
|
|
tubearchivist-redis:
|
|
image: redislabs/rejson:latest
|
|
container_name: tubearchivist-redis
|
|
restart: always
|
|
networks:
|
|
- tipi_main_network
|
|
volumes:
|
|
- ${APP_DATA_DIR}/data/redis-data:/data
|
|
depends_on:
|
|
- tubearchivist-es
|
|
|
|
tubearchivist-es:
|
|
image: bbilly1/tubearchivist-es:latest
|
|
container_name: tubearchivist-es
|
|
restart: always
|
|
environment:
|
|
- "xpack.security.enabled=true"
|
|
- "ELASTIC_PASSWORD=${ELASTIC_PASSWORD}"
|
|
- "discovery.type=single-node"
|
|
- "ES_JAVA_OPTS=-Xms512m -Xmx512m"
|
|
- "path.repo=/usr/share/elasticsearch/data/snapshot"
|
|
networks:
|
|
- tipi_main_network
|
|
ulimits:
|
|
memlock:
|
|
soft: -1
|
|
hard: -1
|
|
volumes:
|
|
- ${APP_DATA_DIR}/data/es:/usr/share/elasticsearch/data
|
|
expose:
|
|
- "9200"
|