chore: added improvements
This commit is contained in:
@@ -41,8 +41,8 @@ services:
|
||||
- ${STORAGE_DIR}/mariadb:/var/lib/mysql
|
||||
homeassistant:
|
||||
build:
|
||||
context: ./dockerfiles
|
||||
dockerfile: home-assistant.Dockerfile
|
||||
context: .
|
||||
dockerfile: ./dockerfiles/home-assistant.Dockerfile
|
||||
labels:
|
||||
- traefik.http.routers.homeassistant.rule=Host(`homeassistant.pladijs`)
|
||||
- traefik.http.services.homeassistant.loadbalancer.server.port=8123
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
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
|
||||
|
||||
@@ -3,8 +3,8 @@ Description=Backup Syncthing - Cold
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
ExecStart=homeassistant-backup --mode cold --sourceFolder /mnt/usb/syncting/hot --targetFolder /mnt/usb/syncting/cold --backupName syncting
|
||||
WorkingDirectory=/etc/syncting
|
||||
ExecStart=homeassistant-backup --mode cold --sourceFolder /mnt/usb/syncthing/hot --targetFolder /mnt/usb/syncthing/cold --backupName syncthing
|
||||
WorkingDirectory=/etc/syncthing
|
||||
Restart=off
|
||||
User=willem
|
||||
Environment=PATH=/usr/bin:/usr/local/bin
|
||||
|
||||
Reference in New Issue
Block a user