chore: added improvements

This commit is contained in:
2025-12-20 07:01:14 +01:00
parent 61452bb374
commit 0588cc60da
3 changed files with 5 additions and 5 deletions

View File

@@ -41,8 +41,8 @@ services:
- ${STORAGE_DIR}/mariadb:/var/lib/mysql - ${STORAGE_DIR}/mariadb:/var/lib/mysql
homeassistant: homeassistant:
build: build:
context: ./dockerfiles context: .
dockerfile: home-assistant.Dockerfile dockerfile: ./dockerfiles/home-assistant.Dockerfile
labels: labels:
- traefik.http.routers.homeassistant.rule=Host(`homeassistant.pladijs`) - traefik.http.routers.homeassistant.rule=Host(`homeassistant.pladijs`)
- traefik.http.services.homeassistant.loadbalancer.server.port=8123 - traefik.http.services.homeassistant.loadbalancer.server.port=8123

View File

@@ -1,3 +1,3 @@
FROM ghcr.io/home-assistant/home-assistant:stable FROM ghcr.io/home-assistant/home-assistant:stable
COPY ./configuration/configuration-production.yaml /config/configuration.yaml COPY ./configurations/home-assistant/configuration-production.yaml /config/configuration.yaml

View File

@@ -3,8 +3,8 @@ Description=Backup Syncthing - Cold
After=network.target After=network.target
[Service] [Service]
ExecStart=homeassistant-backup --mode cold --sourceFolder /mnt/usb/syncting/hot --targetFolder /mnt/usb/syncting/cold --backupName syncting ExecStart=homeassistant-backup --mode cold --sourceFolder /mnt/usb/syncthing/hot --targetFolder /mnt/usb/syncthing/cold --backupName syncthing
WorkingDirectory=/etc/syncting WorkingDirectory=/etc/syncthing
Restart=off Restart=off
User=willem User=willem
Environment=PATH=/usr/bin:/usr/local/bin Environment=PATH=/usr/bin:/usr/local/bin