Added Zoneminder to docker for aya01

Changed naming for docker network so there is no compose_compose_net -> compose_net now

Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
This commit is contained in:
TuDatTr
2022-12-05 18:25:36 +01:00
parent ca1b586ee5
commit f12dd2352c
4 changed files with 27 additions and 17 deletions

View File

@@ -8,11 +8,12 @@
loop:
- "{{ docker_dir }}/zm/"
- name: Shut down docker
shell:
cmd: "docker compose down --remove-orphans"
chdir: "{{ docker_compose_dir }}"
# Todo, check if docker compose is running
# - name: Shut down docker
# shell:
# cmd: "docker compose down --remove-orphans"
# chdir: "{{ docker_compose_dir }}"
- name: Copy the compose file
template:
src: templates/aya01/compose.yaml