Minor changes to configurations, added USB link to HA

This commit is contained in:
Thord Johansson 2024-03-20 11:00:22 +01:00
parent 8378054c7c
commit dde1e22cee
5 changed files with 27 additions and 1 deletions

View File

@ -6,6 +6,11 @@ services:
volumes: volumes:
- ${HOMEASSISTANT_PATH}/config:/config - ${HOMEASSISTANT_PATH}/config:/config
- /etc/localtime:/etc/localtime:ro - /etc/localtime:/etc/localtime:ro
- /run/dbus:/run/dbus:ro
devices:
- '/dev/serial/by-id/usb-Nabu_Casa_SkyConnect_v1.0_7cf0ee91b8d8ed11a8216b6162c613ac-if00-port0:/dev/ttyUSB0'
restart: unless-stopped restart: unless-stopped
privileged: true privileged: true
network_mode: host network_mode: host
environment:
- TZ=Europe/Stockholm

View File

@ -10,6 +10,7 @@ services:
- /mnt/data/storage/jellyfin/config:/config - /mnt/data/storage/jellyfin/config:/config
- /mnt/data/storage/jellyfin/cache:/cache - /mnt/data/storage/jellyfin/cache:/cache
- /mnt/data/media:/media - /mnt/data/media:/media
- /mnt/data/downloads/complete:/downloads
#ports: #ports:
# - "8096:8096/tcp" # - "8096:8096/tcp"

View File

@ -3,3 +3,10 @@ services:
redis: redis:
container_name: redis container_name: redis
image: redis:latest image: redis:latest
restart: always
networks:
- proxy
networks:
proxy:
external: true

View File

@ -0,0 +1,14 @@
services:
nginx:
container_name: static-server
volumes:
- /var/www/static:/usr/share/nginx/html:ro
ports:
- 8888:80
image: nginx
networks:
- proxy
networks:
proxy:
external: true

View File

@ -8,7 +8,6 @@ services:
- PUID=1000 - PUID=1000
- PGID=1000 - PGID=1000
- TZ=Europe/Stockholm - TZ=Europe/Stockholm
- TRANSMISSION_WEB_HOME=/combustion-release/ #optional
- USER=${USERNAME} #optional - USER=${USERNAME} #optional
- PASS=${PASSWORD} #optional - PASS=${PASSWORD} #optional
- WHITELIST= #optional - WHITELIST= #optional