feat: add dozzle agent for omada
All checks were successful
Deploy / Prepare Build (push) Successful in 49s

This commit is contained in:
Matthew McKinnon 2024-11-16 22:21:30 +10:00
parent 03081bf8c1
commit 8d4be87e93
3 changed files with 17 additions and 2 deletions

View File

@ -145,6 +145,10 @@
src: truenas.comprofix.xyz:/mnt/datapool/docker src: truenas.comprofix.xyz:/mnt/datapool/docker
tags: nfs_install tags: nfs_install
tasks: tasks:
- name: Deploy Dozzle Agent
import_tasks: tasks/dozzle-agent.yml
tags: dozzle_agent
- name: Deploy Omada - name: Deploy Omada
import_tasks: tasks/omada.yml import_tasks: tasks/omada.yml
tags: omada_container_install tags: omada_container_install

11
tasks/dozzle-agent.yml Normal file
View File

@ -0,0 +1,11 @@
- name: Create the dozzle agent container
docker_container:
name: dozzle-agent
image: amir20/dozzle:v8.7.4
command: agent
restart_policy: unless-stopped
recreate: true
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
ports:
- 7007:7007

View File

@ -19,7 +19,7 @@
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
env: env:
DOZZLE_LEVEL: "trace" DOZZLE_LEVEL: "trace"
DOZZLE_REMOTE_HOST: "tcp://omada.comprofix.xyz:2375,tcp://vps02.comprofix.com:2375" DOZZLE_REMOTE_AGENT: "omada-lxc.comprofix.xyz:7007"
labels: labels:
traefik.enable: "true" traefik.enable: "true"
traefik.http.routers.dozzle.rule: "Host(`dozzle.comprofix.xyz`)" traefik.http.routers.dozzle.rule: "Host(`dozzle.comprofix.xyz`)"