mirror of
https://github.com/Viren070/docker-compose-template.git
synced 2025-12-01 23:17:00 +01:00
refactor: store config files with composes (#26)
This commit is contained in:
@@ -87,7 +87,7 @@ AUTHELIA_JWT_SECRET=""
|
|||||||
# tell you how to add users
|
# tell you how to add users
|
||||||
# Currently there is only one user (user1 with password 'password') and it has access to everything.
|
# Currently there is only one user (user1 with password 'password') and it has access to everything.
|
||||||
# If you would like to configure access control policies, you will need to edit the access_control key
|
# If you would like to configure access control policies, you will need to edit the access_control key
|
||||||
# in the ${DOCKER_DATA_DIR}/data/authelia/config/configuration.yml file.
|
# in the ${DOCKER_APP_DIR}/authelia/config/configuration.yml file.
|
||||||
|
|
||||||
# ==========================================================
|
# ==========================================================
|
||||||
# CLOUDFLARE DDNS
|
# CLOUDFLARE DDNS
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ services:
|
|||||||
expose:
|
expose:
|
||||||
- 8469
|
- 8469
|
||||||
volumes:
|
volumes:
|
||||||
- ${DOCKER_DATA_DIR}/aiostremio:/app/data
|
- ./config.json:/app/data/config.json
|
||||||
- ${DOCKER_DATA_DIR}/aiostremio/db:/app/db
|
- ${DOCKER_DATA_DIR}/aiostremio/db:/app/db
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
|
|||||||
+3
-3
@@ -23,13 +23,13 @@
|
|||||||
AUTHELIA_WEBAUTHN_DISPLAY_NAME="Authelia"
|
AUTHELIA_WEBAUTHN_DISPLAY_NAME="Authelia"
|
||||||
|
|
||||||
# The valid users for Authelia are stored in the users.yml file.
|
# The valid users for Authelia are stored in the users.yml file.
|
||||||
# This is located in `${DOCKER_DATA_DIR}/data/authelia/config/users.yml`
|
# This is located in `./config/users.yml`
|
||||||
# You must add your users to this file in order to be able to access secured services.
|
# You must add your users to this file in order to be able to access secured services.
|
||||||
|
|
||||||
# Note: When you first login with a user, Authelia will ask for a code that it says it sent to you.
|
# Note: When you first login with a user, Authelia will ask for a code that it says it sent to you.
|
||||||
# This will be located in the notification.txt file in the same directory as the users.yml file.
|
# This will be located in the notification.txt file in the same directory as the users.yml file.
|
||||||
# You can run this command to view the file, replacing ${DOCKER_DATA_DIR} with its actual value:
|
# You can run this command to view the file:
|
||||||
# cat ${DOCKER_DATA_DIR}/data/authelia/config/notification.txt
|
# cat /opt/docker/apps/authelia/config/notification.txt
|
||||||
|
|
||||||
# A list of domains to apply page specific rules to.
|
# A list of domains to apply page specific rules to.
|
||||||
# Although we can't fully protect Stremio addons, we can still add authentication to specific pages like the configuration pages.
|
# Although we can't fully protect Stremio addons, we can still add authentication to specific pages like the configuration pages.
|
||||||
|
|||||||
@@ -24,7 +24,7 @@ services:
|
|||||||
- "traefik.http.middlewares.authelia.forwardAuth.trustForwardHeader=true"
|
- "traefik.http.middlewares.authelia.forwardAuth.trustForwardHeader=true"
|
||||||
- "traefik.http.middlewares.authelia.forwardAuth.authResponseHeaders=Remote-User,Remote-Groups,Remote-Email,Remote-Name"
|
- "traefik.http.middlewares.authelia.forwardAuth.authResponseHeaders=Remote-User,Remote-Groups,Remote-Email,Remote-Name"
|
||||||
volumes:
|
volumes:
|
||||||
- '${DOCKER_DATA_DIR}/authelia/config:/config'
|
- './config:/config'
|
||||||
depends_on:
|
depends_on:
|
||||||
authelia_redis:
|
authelia_redis:
|
||||||
condition: service_healthy
|
condition: service_healthy
|
||||||
|
|||||||
@@ -18,7 +18,7 @@ services:
|
|||||||
- "traefik.http.routers.autosync.middlewares=authelia@docker"
|
- "traefik.http.routers.autosync.middlewares=authelia@docker"
|
||||||
- "traefik.http.services.autosync.loadbalancer.server.port=3536"
|
- "traefik.http.services.autosync.loadbalancer.server.port=3536"
|
||||||
volumes:
|
volumes:
|
||||||
- ${DOCKER_DATA_DIR}/autosync/config.yaml:/app/config.yaml
|
- ./config.yaml:/app/config.yaml
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
- /mnt:/mnt:rslave
|
- /mnt:/mnt:rslave
|
||||||
depends_on:
|
depends_on:
|
||||||
|
|||||||
@@ -64,7 +64,7 @@ services:
|
|||||||
- PGID=${PGID}
|
- PGID=${PGID}
|
||||||
volumes:
|
volumes:
|
||||||
- ${DEBRIDAV_MOUNT_PATH_HOST_FS}:${DEBRIDAV_MOUNT_PATH_CONTAINERS}:rshared
|
- ${DEBRIDAV_MOUNT_PATH_HOST_FS}:${DEBRIDAV_MOUNT_PATH_CONTAINERS}:rshared
|
||||||
- /opt/docker/data/debridav/rclone.conf:/config/rclone/rclone.conf
|
- ./rclone.conf:/config/rclone/rclone.conf
|
||||||
- /dev/fuse:/dev/fuse
|
- /dev/fuse:/dev/fuse
|
||||||
cap_add:
|
cap_add:
|
||||||
- SYS_ADMIN
|
- SYS_ADMIN
|
||||||
|
|||||||
@@ -11,8 +11,12 @@ services:
|
|||||||
- PGID=${PGID}
|
- PGID=${PGID}
|
||||||
- UMASK=002
|
- UMASK=002
|
||||||
volumes:
|
volumes:
|
||||||
- /mnt/:/mnt:rslave
|
- /mnt:/mnt:rslave
|
||||||
- ${DOCKER_DATA_DIR}/decypharr/:/app # config.json must be in this directory
|
- ./config.json:/app/config.json
|
||||||
|
- ${DOCKER_DATA_DIR}/decypharr/repair.json:/app/repair.json
|
||||||
|
- ${DOCKER_DATA_DIR}/decypharr/torrents.json:/app/torrents.json
|
||||||
|
- ${DOCKER_DATA_DIR}/decypharr/logs:/app/logs
|
||||||
|
- ${DOCKER_DATA_DIR}/decypharr/cache:/app/cache
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.decypharr.rule=Host(`${DECYPHARR_HOSTNAME?}`)"
|
- "traefik.http.routers.decypharr.rule=Host(`${DECYPHARR_HOSTNAME?}`)"
|
||||||
@@ -42,7 +46,7 @@ services:
|
|||||||
RCLONE_VFS_CACHE_MAX_AGE: "72h"
|
RCLONE_VFS_CACHE_MAX_AGE: "72h"
|
||||||
volumes:
|
volumes:
|
||||||
- /mnt/remote/realdebrid:/data:rshared
|
- /mnt/remote/realdebrid:/data:rshared
|
||||||
- ${DOCKER_DATA_DIR}/decypharr/rclone.conf:/config/rclone/rclone.conf
|
- ./rclone.conf:/config/rclone/rclone.conf
|
||||||
- /mnt:/mnt
|
- /mnt:/mnt
|
||||||
- ${DOCKER_DATA_DIR}/decypharr/cache:/cache
|
- ${DOCKER_DATA_DIR}/decypharr/cache:/cache
|
||||||
cap_add:
|
cap_add:
|
||||||
|
|||||||
@@ -5,8 +5,8 @@ services:
|
|||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
user: $PUID:$PGID
|
user: $PUID:$PGID
|
||||||
volumes:
|
volumes:
|
||||||
- ${DOCKER_DATA_DIR}/honey:/app/dist/config
|
- ./config.json:/app/dist/config/config.json
|
||||||
- ${DOCKER_DATA_DIR}/honey/img:/app/dist/img/custom
|
- ${DOCKER_DATA_DIR}/honey:/app/dist/img/custom # place any images in this folder, and use custom/image_name.jpg in the config.json
|
||||||
expose:
|
expose:
|
||||||
- 4173
|
- 4173
|
||||||
labels:
|
labels:
|
||||||
|
|||||||
@@ -8,7 +8,7 @@ services:
|
|||||||
- TZ=${TZ:-Etc/UTC}
|
- TZ=${TZ:-Etc/UTC}
|
||||||
- KOMETA_RUN=True
|
- KOMETA_RUN=True
|
||||||
volumes:
|
volumes:
|
||||||
- ${DOCKER_DATA_DIR}/kometa:/config
|
- ./config:/config
|
||||||
profiles:
|
profiles:
|
||||||
- kometa
|
- kometa
|
||||||
- all
|
- all
|
||||||
@@ -24,7 +24,7 @@ services:
|
|||||||
- KOMETA_TIME=00:00,02:00,04:00,06:00,08:00,10:00,12:00,14:00,16:00,18:00,20:00,22:00
|
- KOMETA_TIME=00:00,02:00,04:00,06:00,08:00,10:00,12:00,14:00,16:00,18:00,20:00,22:00
|
||||||
- KOMETA_RUN=False
|
- KOMETA_RUN=False
|
||||||
volumes:
|
volumes:
|
||||||
- ${DOCKER_DATA_DIR}/kometa:/config
|
- ./config:/config
|
||||||
profiles:
|
profiles:
|
||||||
- kometa
|
- kometa
|
||||||
- all
|
- all
|
||||||
|
|||||||
@@ -41,9 +41,9 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ${DOCKER_DATA_DIR}/plausible/clickhouse/db:/var/lib/clickhouse
|
- ${DOCKER_DATA_DIR}/plausible/clickhouse/db:/var/lib/clickhouse
|
||||||
- ${DOCKER_DATA_DIR}/plausible/clickhouse/logs:/var/log/clickhouse-server
|
- ${DOCKER_DATA_DIR}/plausible/clickhouse/logs:/var/log/clickhouse-server
|
||||||
- ${DOCKER_DATA_DIR}/plausible/clickhouse/logs.xml:/etc/clickhouse-server/config.d/logs.xml:ro
|
- ./logs.xml:/etc/clickhouse-server/config.d/logs.xml:ro
|
||||||
- ${DOCKER_DATA_DIR}/plausible/clickhouse/ipv4-only.xml:/etc/clickhouse-server/config.d/ipv4-only.xml:ro
|
- ./ipv4-only.xml:/etc/clickhouse-server/config.d/ipv4-only.xml:ro
|
||||||
- ${DOCKER_DATA_DIR}/plausible/clickhouse/low-resources.xml:/etc/clickhouse-server/config.d/low-resources.xml:ro
|
- ./low-resources.xml:/etc/clickhouse-server/config.d/low-resources.xml:ro
|
||||||
ulimits:
|
ulimits:
|
||||||
nofile:
|
nofile:
|
||||||
soft: 262144
|
soft: 262144
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ services:
|
|||||||
- 9696
|
- 9696
|
||||||
volumes:
|
volumes:
|
||||||
- ${DOCKER_DATA_DIR}/prowlarr:/config
|
- ${DOCKER_DATA_DIR}/prowlarr:/config
|
||||||
|
- ./definitions:/config/Definitions/Custom
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
|
|||||||
@@ -7,7 +7,14 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- TZ=${TZ:-UTC}
|
- TZ=${TZ:-UTC}
|
||||||
volumes:
|
volumes:
|
||||||
- ${DOCKER_DATA_DIR}/recyclarr:/config
|
# - ${DOCKER_DATA_DIR}/recyclarr:/config
|
||||||
|
- ${DOCKER_DATA_DIR}/recyclarr/cache:/config/cache
|
||||||
|
- ${DOCKER_DATA_DIR}/recyclarr/logs:/config/logs
|
||||||
|
- ${DOCKER_DATA_DIR}/recyclarr/repositories:/config/repositories
|
||||||
|
- ${DOCKER_DATA_DIR}/recyclarr/configs:/config/configs
|
||||||
|
- ${DOCKER_DATA_DIR}/recyclarr/includes:/config/includes
|
||||||
|
- ./recyclarr.yml:/config/recyclarr.yml
|
||||||
|
- ./secrets.yml:/config/secrets.yml
|
||||||
depends_on:
|
depends_on:
|
||||||
- sonarr
|
- sonarr
|
||||||
- sonarr4k
|
- sonarr4k
|
||||||
|
|||||||
@@ -9,7 +9,7 @@ services:
|
|||||||
network_mode: service:warp
|
network_mode: service:warp
|
||||||
user: $PUID:$PGID
|
user: $PUID:$PGID
|
||||||
volumes:
|
volumes:
|
||||||
- ${DOCKER_DATA_DIR}/tweakio/config.yaml:/app/config.yaml
|
- ./config.yaml:/app/config.yaml
|
||||||
profiles:
|
profiles:
|
||||||
- all
|
- all
|
||||||
- debrid_media_server
|
- debrid_media_server
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ services:
|
|||||||
healthcheck:
|
healthcheck:
|
||||||
test: curl -f localhost:9999/dav/version.txt || exit 1
|
test: curl -f localhost:9999/dav/version.txt || exit 1
|
||||||
volumes:
|
volumes:
|
||||||
- ${DOCKER_DATA_DIR}/zurg/config-${ZURG_CONFIG_VERSION:-v0.9}.yml:/app/config.yml
|
- ./config-${ZURG_CONFIG_VERSION:-v0.9}.yml:/app/config.yml
|
||||||
- ${DOCKER_DATA_DIR}/zurg/data:/app/data
|
- ${DOCKER_DATA_DIR}/zurg/data:/app/data
|
||||||
- ${DOCKER_DATA_DIR}/zurg/logs:/app/logs
|
- ${DOCKER_DATA_DIR}/zurg/logs:/app/logs
|
||||||
labels:
|
labels:
|
||||||
@@ -30,7 +30,7 @@ services:
|
|||||||
PGID: ${PGID}
|
PGID: ${PGID}
|
||||||
volumes:
|
volumes:
|
||||||
- /mnt/remote/realdebrid:/data:rshared
|
- /mnt/remote/realdebrid:/data:rshared
|
||||||
- ${DOCKER_DATA_DIR}/zurg/rclone.conf:/config/rclone/rclone.conf
|
- ./rclone.conf:/config/rclone/rclone.conf
|
||||||
- /mnt:/mnt
|
- /mnt:/mnt
|
||||||
cap_add:
|
cap_add:
|
||||||
- SYS_ADMIN
|
- SYS_ADMIN
|
||||||
|
|||||||
@@ -1,98 +0,0 @@
|
|||||||
id: zilean
|
|
||||||
name: Zilean
|
|
||||||
description: "A custom indexer for Zilean the unofficial DMM indexer using it's Torznab Endpoint"
|
|
||||||
language: en-US
|
|
||||||
type: public
|
|
||||||
encoding: UTF-8
|
|
||||||
followredirect: false
|
|
||||||
testlinktorrent: false
|
|
||||||
requestDelay: 2
|
|
||||||
links:
|
|
||||||
# Torznab Endpoint is used for better performance
|
|
||||||
- http://zilean:8181
|
|
||||||
- https://zilean.elfhosted.com
|
|
||||||
|
|
||||||
caps:
|
|
||||||
categories:
|
|
||||||
Movies: Movies
|
|
||||||
TV: TV
|
|
||||||
modes:
|
|
||||||
search: [q]
|
|
||||||
movie-search: [q, imdbid]
|
|
||||||
tv-search: [q, season, ep]
|
|
||||||
allowrawsearch: false
|
|
||||||
|
|
||||||
settings: []
|
|
||||||
|
|
||||||
search:
|
|
||||||
paths:
|
|
||||||
- path: /dmm/filtered
|
|
||||||
method: get
|
|
||||||
response:
|
|
||||||
type: json
|
|
||||||
|
|
||||||
inputs:
|
|
||||||
$raw: "{{ if .Query.IMDBID }}ImdbId={{ .Query.IMDBID }}{{ else }}Query={{ .Keywords }}{{ end }}"
|
|
||||||
Season: "{{ if .Query.Season }}{{ .Query.Season }}{{ else }}{{ end }}"
|
|
||||||
Episode: "{{ if .Query.Ep }}{{ .Query.Ep }}{{ else }}{{ end }}"
|
|
||||||
|
|
||||||
keywordsfilters:
|
|
||||||
- name: re_replace
|
|
||||||
args: ["\\bS\\d+(?:E\\d+)?\\b", ""] # Remove season and episode info
|
|
||||||
- name: re_replace
|
|
||||||
args: ["\\b(19|20)\\d{2}\\b", ""] # Remove year info
|
|
||||||
- name: re_replace
|
|
||||||
args: ["[\\[\\]()]", ""] # Remove brackets
|
|
||||||
- name: re_replace
|
|
||||||
args: ["^$", "limitless"]
|
|
||||||
|
|
||||||
rows:
|
|
||||||
selector: $
|
|
||||||
missingAttributeEqualsNoResults: true
|
|
||||||
|
|
||||||
fields:
|
|
||||||
title:
|
|
||||||
selector: raw_title
|
|
||||||
year:
|
|
||||||
selector: year
|
|
||||||
category:
|
|
||||||
selector: category
|
|
||||||
filters:
|
|
||||||
- name: replace
|
|
||||||
args: ["tvSeries", "TV"]
|
|
||||||
- name: replace
|
|
||||||
args: ["movie", "Movies"]
|
|
||||||
infohash:
|
|
||||||
selector: info_hash
|
|
||||||
size:
|
|
||||||
selector: size
|
|
||||||
quality:
|
|
||||||
selector: resolution
|
|
||||||
filters:
|
|
||||||
- name: replace
|
|
||||||
args: ["4k", "2160p"]
|
|
||||||
codec:
|
|
||||||
selector: codec
|
|
||||||
episode:
|
|
||||||
selector: episodes
|
|
||||||
season:
|
|
||||||
selector: seasons
|
|
||||||
language:
|
|
||||||
selector: languages
|
|
||||||
seeders:
|
|
||||||
text: "30"
|
|
||||||
leechers:
|
|
||||||
text: "10"
|
|
||||||
date:
|
|
||||||
text: "Apr. 18th '11"
|
|
||||||
filters:
|
|
||||||
- name: re_replace
|
|
||||||
args: ["st|nd|rd|th", ""]
|
|
||||||
- name: replace
|
|
||||||
args: ["'", ""]
|
|
||||||
- name: dateparse
|
|
||||||
args: "MMM. d yy"
|
|
||||||
downloadvolumefactor:
|
|
||||||
text: "1"
|
|
||||||
uploadvolumefactor:
|
|
||||||
text: "1"
|
|
||||||
Reference in New Issue
Block a user