created separate compose files for nas vs rhel server
This commit is contained in:
@@ -0,0 +1,65 @@
|
|||||||
|
services:
|
||||||
|
|
||||||
|
# Media Services
|
||||||
|
plex:
|
||||||
|
image: lscr.io/linuxserver/plex:latest
|
||||||
|
container_name: plex
|
||||||
|
environment:
|
||||||
|
- PUID=1029
|
||||||
|
- PGID=100
|
||||||
|
- TZ=America/Edmonton
|
||||||
|
- VERSION=docker
|
||||||
|
- PLEX_CLAIM=claim-ysBekXEjCaQYqgzysNGe
|
||||||
|
- ADVERTISE_IP=http://192.168.88.88:32400/
|
||||||
|
- ALLOWED_NETWORKS=192.168.88.0/24,172.27.0.0/16
|
||||||
|
volumes:
|
||||||
|
- /volume1/docker/media_services/plex/config:/config
|
||||||
|
- /volume1/docker/media_services/plex/transcode:/transcode
|
||||||
|
- /volume1/media:/media
|
||||||
|
ports:
|
||||||
|
- 32400:32400
|
||||||
|
- 1900:1900/udp #UPnP
|
||||||
|
- 5353:5353/udp #mDNS
|
||||||
|
- 8324:8324
|
||||||
|
- 32410:32410/udp
|
||||||
|
- 32412:32412/udp
|
||||||
|
- 32413:32413/udp
|
||||||
|
- 32414:32414/udp
|
||||||
|
- 32469:32469
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
# Bittorrent client
|
||||||
|
qbittorrent:
|
||||||
|
image: lscr.io/linuxserver/qbittorrent:latest
|
||||||
|
container_name: qbittorrent
|
||||||
|
environment:
|
||||||
|
- PUID=1029
|
||||||
|
- PGID=100
|
||||||
|
- TZ=America/Edmonton
|
||||||
|
- WEBUI_PORT=8081
|
||||||
|
- TORRENTING_PORT=6881
|
||||||
|
volumes:
|
||||||
|
- /volume1/docker/media_services/qbittorrent/config:/config
|
||||||
|
- /volume1/media/:/media
|
||||||
|
ports:
|
||||||
|
- 8081:8081
|
||||||
|
- 6881:6881
|
||||||
|
- 6881:6881/udp
|
||||||
|
restart: unless-stopped
|
||||||
|
|
||||||
|
# Flood Bittorrent UI
|
||||||
|
flood:
|
||||||
|
image: jesec/flood
|
||||||
|
container_name: floodui
|
||||||
|
user: 1029:100
|
||||||
|
command: --port 3001 --allowedpath /data
|
||||||
|
environment:
|
||||||
|
- PUID=1029
|
||||||
|
- PGID=100
|
||||||
|
- TZ=America/Edmonton
|
||||||
|
- HOME=/config
|
||||||
|
volumes:
|
||||||
|
- /volume1/docker/media_services/flood/config:/config
|
||||||
|
- /volume1/media:/data
|
||||||
|
ports:
|
||||||
|
- 3001:3001
|
||||||
@@ -31,11 +31,13 @@ class ComposeCtlTests(unittest.TestCase):
|
|||||||
|
|
||||||
def test_discover_compose_files_finds_existing_stacks(self):
|
def test_discover_compose_files_finds_existing_stacks(self):
|
||||||
stack_files = discover_compose_files(Path("."))
|
stack_files = discover_compose_files(Path("."))
|
||||||
self.assertIn(Path("services/media/compose.yaml"), stack_files)
|
self.assertIn(Path("services/media_nas1/compose.yaml"), stack_files)
|
||||||
|
self.assertIn(Path("services/media_rhel1/compose.yaml"), stack_files)
|
||||||
|
|
||||||
def test_discover_stack_names_returns_inferred_stack_names(self):
|
def test_discover_stack_names_returns_inferred_stack_names(self):
|
||||||
stack_names = discover_stack_names(Path("."))
|
stack_names = discover_stack_names(Path("."))
|
||||||
self.assertIn("media", stack_names)
|
self.assertIn("media_nas1", stack_names)
|
||||||
|
self.assertIn("media_rhel1", stack_names)
|
||||||
|
|
||||||
def test_build_update_commands_returns_full_stack_refresh_sequence(self):
|
def test_build_update_commands_returns_full_stack_refresh_sequence(self):
|
||||||
commands = build_update_commands(
|
commands = build_update_commands(
|
||||||
|
|||||||
Reference in New Issue
Block a user