chore: added improvements
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user