Bxl-swarm storage, smarthome & mediaserver
This commit is contained in:
parent
83be9fc81d
commit
d80da53615
|
@ -59,9 +59,11 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
- external
|
- external
|
||||||
|
- storage
|
||||||
depends_on:
|
depends_on:
|
||||||
- system_traefik
|
- system_traefik
|
||||||
- system_nfs
|
- system_nfs
|
||||||
|
- storage_postgres
|
||||||
|
|
||||||
sonarr:
|
sonarr:
|
||||||
image: lscr.io/linuxserver/sonarr:latest
|
image: lscr.io/linuxserver/sonarr:latest
|
||||||
|
@ -97,7 +99,7 @@ services:
|
||||||
- system_nfs
|
- system_nfs
|
||||||
|
|
||||||
lidarr:
|
lidarr:
|
||||||
image: lscr.io/linuxserver/lidarr:latest
|
image: lscr.io/linuxserver/lidarr:1.1.2-develop # required for postgres
|
||||||
environment:
|
environment:
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
|
@ -125,9 +127,11 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- internal
|
- internal
|
||||||
- external
|
- external
|
||||||
|
- storage
|
||||||
depends_on:
|
depends_on:
|
||||||
- system_traefik
|
- system_traefik
|
||||||
- system_nfs
|
- system_nfs
|
||||||
|
- storage_postgres
|
||||||
|
|
||||||
transmission:
|
transmission:
|
||||||
image: lscr.io/linuxserver/transmission:latest
|
image: lscr.io/linuxserver/transmission:latest
|
||||||
|
@ -219,7 +223,7 @@ services:
|
||||||
- node.labels.POWER == true
|
- node.labels.POWER == true
|
||||||
|
|
||||||
bazarr:
|
bazarr:
|
||||||
image: lscr.io/linuxserver/bazarr:latest
|
image: lscr.io/linuxserver/bazarr:1.1.5-development # required for postgres
|
||||||
environment:
|
environment:
|
||||||
- TZ=Europe/Paris
|
- TZ=Europe/Paris
|
||||||
volumes:
|
volumes:
|
||||||
|
@ -245,13 +249,17 @@ services:
|
||||||
networks:
|
networks:
|
||||||
- external
|
- external
|
||||||
- internal
|
- internal
|
||||||
|
- storage
|
||||||
depends_on:
|
depends_on:
|
||||||
- system_traefik
|
- system_traefik
|
||||||
- system_nfs
|
- system_nfs
|
||||||
|
- storage_postgres
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
internal:
|
internal:
|
||||||
|
storage:
|
||||||
|
external: true
|
||||||
external:
|
external:
|
||||||
external: true
|
external: true
|
||||||
|
|
|
@ -6,6 +6,7 @@ services:
|
||||||
- /mnt/nfs/hass:/config
|
- /mnt/nfs/hass:/config
|
||||||
- /etc/localtime:/etc/localtime:ro
|
- /etc/localtime:/etc/localtime:ro
|
||||||
networks:
|
networks:
|
||||||
|
- storage
|
||||||
- smarthome
|
- smarthome
|
||||||
- external
|
- external
|
||||||
deploy:
|
deploy:
|
||||||
|
@ -27,6 +28,7 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
- system_traefik
|
- system_traefik
|
||||||
- system_nfs
|
- system_nfs
|
||||||
|
- storage_postgres
|
||||||
|
|
||||||
mosquitto:
|
mosquitto:
|
||||||
image: eclipse-mosquitto:latest
|
image: eclipse-mosquitto:latest
|
||||||
|
@ -53,5 +55,7 @@ services:
|
||||||
|
|
||||||
networks:
|
networks:
|
||||||
smarthome:
|
smarthome:
|
||||||
|
storage:
|
||||||
|
external: true
|
||||||
external:
|
external:
|
||||||
external: true
|
external: true
|
||||||
|
|
|
@ -7,7 +7,7 @@ services:
|
||||||
- POSTGRES_USER=postgres
|
- POSTGRES_USER=postgres
|
||||||
- POSTGRES_PASSWORD_FILE=/run/secrets/postgres_password
|
- POSTGRES_PASSWORD_FILE=/run/secrets/postgres_password
|
||||||
volumes:
|
volumes:
|
||||||
- /mnt/nfs/postgres:/var/lib/postgresql/data
|
- /mnt/Main/redondant/shared/postgres:/var/lib/postgresql/data
|
||||||
networks:
|
networks:
|
||||||
- storage
|
- storage
|
||||||
secrets:
|
secrets:
|
||||||
|
@ -20,9 +20,7 @@ services:
|
||||||
max_attempts: 3
|
max_attempts: 3
|
||||||
placement:
|
placement:
|
||||||
constraints:
|
constraints:
|
||||||
- node.labels.POWER == true
|
- node.labels.STORAGE == true
|
||||||
depends_on:
|
|
||||||
- system_nfs
|
|
||||||
|
|
||||||
redis:
|
redis:
|
||||||
image: redis:latest
|
image: redis:latest
|
||||||
|
|
Loading…
Reference in New Issue