Update docker-compose.yaml: Remove homeassistant dependency from whoami, add restart policy to postgres-exporter, and change volume mounts to use 'slave' mode for media directories.
This commit is contained in:
parent
8c3f915bd9
commit
2269112842
|
|
@ -53,7 +53,6 @@ services:
|
|||
depends_on:
|
||||
- grafana
|
||||
- whoami
|
||||
- homeassistant
|
||||
|
||||
whoami:
|
||||
image: "traefik/whoami"
|
||||
|
|
@ -246,10 +245,11 @@ services:
|
|||
postgres-exporter:
|
||||
image: prometheuscommunity/postgres-exporter
|
||||
container_name: postgres-exporter
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- postgresql18
|
||||
environment:
|
||||
DATA_SOURCE_NAME: "postgresql://${DB_USER}:${DB_PASS}@postgresql18:5432/homeassistant?sslmode=disable"
|
||||
links:
|
||||
- postgresql18
|
||||
|
||||
mktxp:
|
||||
image: ghcr.io/akpw/mktxp:latest
|
||||
|
|
@ -304,7 +304,7 @@ services:
|
|||
- ${PWD}/homeassistant/sysctl.d:/etc/sysctl.d
|
||||
- ${PWD}/homeassistant/ssh_dir:/root/.ssh
|
||||
- ${PWD}/homeassistant/doorbell:/doorbell
|
||||
- /media/seagata16t/hikvision16t/:/hikvision16t
|
||||
- /media/seagata16t/hikvision16t/:/hikvision16t:slave
|
||||
- /home/seba/.ssh/id_ed25519:/config/ssh/asus_private_key/id_ed25519:ro
|
||||
- /home/seba/.ssh/id_ed25519:/config/ssh/ansible_private_key/id_ed25519:ro
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
|
|
@ -366,7 +366,7 @@ services:
|
|||
- FRIGATE_DOMOFON_HIK_PW=${FRIGATE_DOMOFON_HIK_PW}
|
||||
- MOSQUITTO_PASSWORD=${MOSQUITTO_PASSWORD}
|
||||
- FRIGATE_MQTT_PW=${FRIGATE_MQTT_PW}
|
||||
- PLUS_API_KEY=1cc019e8-d9c7-4ab3-beed-a919dbd3ecd7:d6ff73dee94bfa6faf3850e8080a9157b77e9d1e
|
||||
- PLUS_API_KEY=${FRIGATE_PLUS_API_KEY}
|
||||
- LIBVA_DRIVER_NAME=radeonsi
|
||||
- LIBVA_DRIVERS_PATH=/usr/lib/x86_64-linux-gnu/dri
|
||||
logging:
|
||||
|
|
@ -414,7 +414,7 @@ services:
|
|||
- ${PWD}/jellyfin/config:/config
|
||||
- ${PWD}/jellyfin/Downloads/jellyfin_tmp:/cache
|
||||
- ${PWD}/jellyfin/shared:/shared
|
||||
- /media/seagata16t:/media/seagata16t
|
||||
- /media/seagata16t:/media/seagata16t:slave
|
||||
- /media/wd1t:/media/wd1t
|
||||
- /media/evo2t:/media/evo2t
|
||||
- /media/asustor/asustor_volume1:/media/asustor/asustor_volume1
|
||||
|
|
@ -439,8 +439,8 @@ services:
|
|||
build:
|
||||
context: ./timelapse_service
|
||||
volumes:
|
||||
- /media/seagata16t/hikvision16t/:/media/seagata16t/hikvision16t
|
||||
- /media/seagata16t/all_timelapses/:/media/seagata16t/all_timelapses
|
||||
- /media/seagata16t/hikvision16t/:/media/seagata16t/hikvision16t:slave
|
||||
- /media/seagata16t/all_timelapses/:/media/seagata16t/all_timelapses:slave
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
environment:
|
||||
- PUID=${PUID}
|
||||
|
|
@ -646,7 +646,7 @@ services:
|
|||
container_name: immich_server
|
||||
image: ghcr.io/immich-app/immich-server:release
|
||||
volumes:
|
||||
- /media/seagata16t/immich:/usr/src/app/upload
|
||||
- /media/seagata16t/immich:/usr/src/app/upload:slave
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
env_file:
|
||||
- .env
|
||||
|
|
|
|||
Loading…
Reference in New Issue