feat: add Dozzle data directory creation in Ansible tasks
Some checks failed
Ansible Lint Check / check-ansible (push) Failing after 13s
Nix Format Check / check-format (push) Successful in 53s
Python Lint Check / check-python (push) Failing after 11s

This commit is contained in:
2025-03-25 04:08:27 +01:00
parent 6b986a54a7
commit c02431d925
2 changed files with 6 additions and 2 deletions

View File

@ -4,12 +4,10 @@ services:
image: amir20/dozzle:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- {{ dozzle_data_dir }}:/data
ports:
- 8080:8080
environment:
- DOZZLE_NO_ANALYTICS=true
- DOZZLE_AUTH_PROVIDER=simple
restart: unless-stopped
networks:
- dozzle-net

View File

@ -12,6 +12,12 @@
state: directory
mode: "0755"
- name: Create Dozzle data directory
ansible.builtin.file:
path: "{{ dozzle_data_dir }}"
state: directory
mode: "0755"
- name: Deploy Dozzle docker-compose.yml
ansible.builtin.template:
src: docker-compose.yml.j2