Changed file permissions for netdata and updated docker compose files for zoneminder, pihole, syncthing and grafana services with ports, volumes and environment variables.

Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
This commit is contained in:
TuDatTr
2023-02-09 01:14:30 +01:00
parent 350b3ec149
commit f3254d5b79
3 changed files with 50 additions and 45 deletions

View File

@@ -31,11 +31,16 @@ services:
- "{{ ddns_updater_data }}:/updater/data/"
ports:
- 8000:8000/tcp
labels:
- "traefik.enable=true"
- "traefik.http.routers.homeassistant.rule=Host(`ddns.{{local_domain}}`)"
homeassistant:
container_name: homeassistant
image: "ghcr.io/home-assistant/home-assistant:stable"
restart: unless-stopped
networks:
net: {}
volumes:
- "/etc/localtime:/etc/localtime:ro"
- "{{ ha_config }}:/config/"
@@ -79,7 +84,7 @@ services:
- NET_ADMIN
labels:
- "traefik.enable=true"
- "traefik.http.routers.pihole.rule=Host(`pihole.{{local_domain}}`)"
- "traefik.http.routers.pihole.rule=Host(`pipihole.{{local_domain}}`)"
# - "traefik.http.routers.pihole.entrypoints=web"
# - "traefik.http.services.pihole.loadbalancer.server.port=8089"