arr: Rename data dir to serve_dir
This commit is contained in:
parent
b8678bafaa
commit
ff718b46ef
3 changed files with 22 additions and 22 deletions
|
|
@ -2,8 +2,8 @@
|
||||||
|
|
||||||
arrstack_env_dir: /opt/arrstack
|
arrstack_env_dir: /opt/arrstack
|
||||||
|
|
||||||
arrstack_data_dir: /srv
|
arrstack_serve_dir: /srv
|
||||||
arrstack_data_dir_create: true
|
arrstack_serve_dir_create: true
|
||||||
|
|
||||||
arrstack_puid: 1000
|
arrstack_puid: 1000
|
||||||
arrstack_pgid: 100
|
arrstack_pgid: 100
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,7 @@
|
||||||
owner: "{{ arrstack_puid }}"
|
owner: "{{ arrstack_puid }}"
|
||||||
group: "{{ arrstack_pgid }}"
|
group: "{{ arrstack_pgid }}"
|
||||||
mode: 0770
|
mode: 0770
|
||||||
when: arrstack_data_dir_create
|
when: arrstack_serve_dir_create
|
||||||
loop:
|
loop:
|
||||||
- ""
|
- ""
|
||||||
- files
|
- files
|
||||||
|
|
|
||||||
|
|
@ -11,9 +11,9 @@ services:
|
||||||
- UMASK_SET={{ arrstack_umask_set }}
|
- UMASK_SET={{ arrstack_umask_set }}
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ arrstack_env_dir }}/config/sonarr:/config"
|
- "{{ arrstack_env_dir }}/config/sonarr:/config"
|
||||||
- "{{ arrstack_data_dir }}/media/tv:/data/media/tv"
|
- "{{ arrstack_serve_dir }}/media/tv:/data/media/tv"
|
||||||
- "{{ arrstack_data_dir }}/files/usenet:/data/usenet"
|
- "{{ arrstack_serve_dir }}/files/usenet:/data/usenet"
|
||||||
- "{{ arrstack_data_dir }}/files/torrent:/data/torrent"
|
- "{{ arrstack_serve_dir }}/files/torrent:/data/torrent"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
labels:
|
labels:
|
||||||
caddy: "http://sonarr.pichi.berlin"
|
caddy: "http://sonarr.pichi.berlin"
|
||||||
|
|
@ -32,8 +32,8 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ arrstack_env_dir }}/config/radarr:/config"
|
- "{{ arrstack_env_dir }}/config/radarr:/config"
|
||||||
- "/mnt/ext/data/media/movies:/data/media/movies" # FIXME: Find solution
|
- "/mnt/ext/data/media/movies:/data/media/movies" # FIXME: Find solution
|
||||||
- "{{ arrstack_data_dir }}/files/usenet:/data/usenet"
|
- "{{ arrstack_serve_dir }}/files/usenet:/data/usenet"
|
||||||
- "{{ arrstack_data_dir }}/files/torrent:/data/torrent"
|
- "{{ arrstack_serve_dir }}/files/torrent:/data/torrent"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
labels:
|
labels:
|
||||||
caddy: "http://radarr.pichi.berlin"
|
caddy: "http://radarr.pichi.berlin"
|
||||||
|
|
@ -56,9 +56,9 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ arrstack_env_dir }}/config/lidarr:/config"
|
- "{{ arrstack_env_dir }}/config/lidarr:/config"
|
||||||
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
- "/var/run/docker.sock:/var/run/docker.sock:ro"
|
||||||
- "{{ arrstack_data_dir }}/media/music:/data/media/music"
|
- "{{ arrstack_serve_dir }}/media/music:/data/media/music"
|
||||||
- "{{ arrstack_data_dir }}/files/usenet:/data/usenet"
|
- "{{ arrstack_serve_dir }}/files/usenet:/data/usenet"
|
||||||
- "{{ arrstack_data_dir }}/files/torrent:/data/torrent"
|
- "{{ arrstack_serve_dir }}/files/torrent:/data/torrent"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
labels:
|
labels:
|
||||||
caddy: "http://lidarr.pichi.berlin"
|
caddy: "http://lidarr.pichi.berlin"
|
||||||
|
|
@ -76,9 +76,9 @@ services:
|
||||||
- UMASK_SET={{ arrstack_umask_set }}
|
- UMASK_SET={{ arrstack_umask_set }}
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ arrstack_env_dir }}/config/readarr:/config"
|
- "{{ arrstack_env_dir }}/config/readarr:/config"
|
||||||
- "{{ arrstack_data_dir }}/media/audiobooks:/data/media/audiobooks"
|
- "{{ arrstack_serve_dir }}/media/audiobooks:/data/media/audiobooks"
|
||||||
- "{{ arrstack_data_dir }}/files/usenet:/data/usenet"
|
- "{{ arrstack_serve_dir }}/files/usenet:/data/usenet"
|
||||||
- "{{ arrstack_data_dir }}/files/torrent:/data/torrent"
|
- "{{ arrstack_serve_dir }}/files/torrent:/data/torrent"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
labels:
|
labels:
|
||||||
caddy: "http://readarr.pichi.berlin"
|
caddy: "http://readarr.pichi.berlin"
|
||||||
|
|
@ -115,8 +115,8 @@ services:
|
||||||
- MB_PASS={{ arrstack_mb_pass }}
|
- MB_PASS={{ arrstack_mb_pass }}
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ arrstack_env_dir }}/config/beets:/config"
|
- "{{ arrstack_env_dir }}/config/beets:/config"
|
||||||
- "{{ arrstack_data_dir }}/media/music:/music"
|
- "{{ arrstack_serve_dir }}/media/music:/music"
|
||||||
- "{{ arrstack_data_dir }}/files/music-unsorted:/downloads"
|
- "{{ arrstack_serve_dir }}/files/music-unsorted:/downloads"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
labels:
|
labels:
|
||||||
caddy: "http://prowlarr.pichi.berlin"
|
caddy: "http://prowlarr.pichi.berlin"
|
||||||
|
|
@ -134,7 +134,7 @@ services:
|
||||||
- UMASK_SET={{ arrstack_umask_set }}
|
- UMASK_SET={{ arrstack_umask_set }}
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ arrstack_env_dir }}/config/sabnzbd:/config"
|
- "{{ arrstack_env_dir }}/config/sabnzbd:/config"
|
||||||
- "{{ arrstack_data_dir }}/files/usenet:/data/usenet:rw"
|
- "{{ arrstack_serve_dir }}/files/usenet:/data/usenet:rw"
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
labels:
|
labels:
|
||||||
caddy: "http://usenet.pichi.berlin"
|
caddy: "http://usenet.pichi.berlin"
|
||||||
|
|
@ -186,7 +186,7 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ arrstack_env_dir }}/config/piaqbit:/config"
|
- "{{ arrstack_env_dir }}/config/piaqbit:/config"
|
||||||
- "{{ arrstack_env_dir }}/config/gluetun:/gluetun"
|
- "{{ arrstack_env_dir }}/config/gluetun:/gluetun"
|
||||||
- "{{ arrstack_data_dir }}/files/torrent:/downloads"
|
- "{{ arrstack_serve_dir }}/files/torrent:/downloads"
|
||||||
depends_on:
|
depends_on:
|
||||||
- vpn
|
- vpn
|
||||||
network_mode: "service:vpn"
|
network_mode: "service:vpn"
|
||||||
|
|
@ -274,8 +274,8 @@ services:
|
||||||
volumes:
|
volumes:
|
||||||
- "{{ arrstack_env_dir }}/config/audiobookshelf:/config"
|
- "{{ arrstack_env_dir }}/config/audiobookshelf:/config"
|
||||||
- "{{ arrstack_env_dir }}/data/audiobookshelf:/metadata"
|
- "{{ arrstack_env_dir }}/data/audiobookshelf:/metadata"
|
||||||
- "{{ arrstack_data_dir }}/media/audiobooks:/audiobooks"
|
- "{{ arrstack_serve_dir }}/media/audiobooks:/audiobooks"
|
||||||
# - "{{ arrstack_data_dir }}/media/podcasts:/podcasts" # TODO: If integrating podcasts
|
# - "{{ arrstack_serve_dir }}/media/podcasts:/podcasts" # TODO: If integrating podcasts
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
labels:
|
labels:
|
||||||
caddy: "http://books.pichi.berlin"
|
caddy: "http://books.pichi.berlin"
|
||||||
|
|
@ -299,8 +299,8 @@ services:
|
||||||
- "{{ arrstack_env_dir }}/config/jellyfin:/config"
|
- "{{ arrstack_env_dir }}/config/jellyfin:/config"
|
||||||
- "{{ arrstack_env_dir }}/data/jellyfin:/config/data"
|
- "{{ arrstack_env_dir }}/data/jellyfin:/config/data"
|
||||||
- "/mnt/ext/data/media/movies:/media/movies" # FIXME: To be changed?
|
- "/mnt/ext/data/media/movies:/media/movies" # FIXME: To be changed?
|
||||||
- "{{ arrstack_data_dir }}/media/tv:/media/tv"
|
- "{{ arrstack_serve_dir }}/media/tv:/media/tv"
|
||||||
- "{{ arrstack_data_dir }}/media/music:/media/music"
|
- "{{ arrstack_serve_dir }}/media/music:/media/music"
|
||||||
ports: # FIXME: how to enable discovery behind proxies?
|
ports: # FIXME: how to enable discovery behind proxies?
|
||||||
- 7359:7359/udp #optional - network discovery
|
- 7359:7359/udp #optional - network discovery
|
||||||
- 1900:1900/udp #optional - dlna discovery
|
- 1900:1900/udp #optional - dlna discovery
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue