renamed some variables

Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
pull/1/head
TuDatTr 2022-12-06 23:29:57 +01:00
parent 8fec4941c1
commit a1800a18fc
2 changed files with 14 additions and 7 deletions

View File

@ -61,6 +61,13 @@ zoneminder_data: "{{ docker_data_dir }}/zm/data"
# pi
#
traefik_etc: "{{ docker_dir }}/traefik/etc-traefik/"
traefik_var: "{{ docker_dir }}/traefik/var-log/"
ddns_updater_data: "{{ docker_dir }}/ddns-updater/data/"
ha_config: "{{ docker_dir }}/home-assistant/config/"
pihole_pihole: {{ docker_dir }}/pihole/etc-pihole/
pihole_dnsmasq: {{ docker_dir }}/pihole/etc-dnsmasq.d/
#
# backblaze
#

View File

@ -9,9 +9,9 @@ services:
volumes:
- "/etc/localtime:/etc/localtime:ro"
- "/var/run/docker.sock:/var/run/docker.sock:ro"
- "{{ docker_dir }}/traefik/etc-traefik/traefik.yml:/etc/traefik/traefik.yml"
- "{{ docker_dir }}/traefik/var-log/traefik.log:/var/log/traefik.log"
- "{{ docker_dir }}/traefik/var-log/access.log:/var/log/traefik.log"
- "{{ traefik_etc }}/traefik.yml:/etc/traefik/traefik.yml"
- "{{ traefik_var }}/traefik.log:/var/log/traefik.log"
- "{{ traefik_var }}/access.log:/var/log/traefik.log"
ports:
- 80:80
- 8080:8080
@ -27,7 +27,7 @@ services:
networks:
net: {}
volumes:
- "{{ docker_dir }}/ddns-updater/data/:/updater/data/"
- "{{ ddns_updater_data }}:/updater/data/"
ports:
- 8000:8000/tcp
homeassistant:
@ -36,7 +36,7 @@ services:
restart: unless-stopped
volumes:
- "/etc/localtime:/etc/localtime:ro"
- "{{ docker_dir }}/home-assistant/config/:/config/"
- "{{ ha_config }}:/config/"
privileged: true
network_mode: host
labels:
@ -63,8 +63,8 @@ services:
- "DNS1=1.0.0.1"
volumes:
- "/etc/localtime:/etc/localtime:ro"
- "{{ docker_dir }}/pihole/etc-pihole/:/etc/pihole/"
- "{{ docker_dir }}/pihole/etc-dnsmasq.d/:/etc/dnsmasq.d/"
- "{{ pihole_pihole }}:/etc/pihole/"
- "{{ pihole_dnsmasq }}:/etc/dnsmasq.d/"
dns:
- 127.0.0.1
- 1.1.1.1