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:
- ${HOMEASSISTANT_PATH}/config:/config
- /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
privileged: true
network_mode: host
environment:
- TZ=Europe/Stockholm

View file

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

View file

@ -3,3 +3,10 @@ services:
redis:
container_name: redis
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
- PGID=1000
- TZ=Europe/Stockholm
- TRANSMISSION_WEB_HOME=/combustion-release/ #optional
- USER=${USERNAME} #optional
- PASS=${PASSWORD} #optional
- WHITELIST= #optional