feat: add dozzle agent for omada
All checks were successful
Deploy / Prepare Build (push) Successful in 49s
All checks were successful
Deploy / Prepare Build (push) Successful in 49s
This commit is contained in:
parent
03081bf8c1
commit
8d4be87e93
4
main.yml
4
main.yml
@ -145,6 +145,10 @@
|
||||
src: truenas.comprofix.xyz:/mnt/datapool/docker
|
||||
tags: nfs_install
|
||||
tasks:
|
||||
- name: Deploy Dozzle Agent
|
||||
import_tasks: tasks/dozzle-agent.yml
|
||||
tags: dozzle_agent
|
||||
|
||||
- name: Deploy Omada
|
||||
import_tasks: tasks/omada.yml
|
||||
tags: omada_container_install
|
||||
|
11
tasks/dozzle-agent.yml
Normal file
11
tasks/dozzle-agent.yml
Normal 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
|
@ -19,11 +19,11 @@
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
env:
|
||||
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:
|
||||
traefik.enable: "true"
|
||||
traefik.http.routers.dozzle.rule: "Host(`dozzle.comprofix.xyz`)"
|
||||
traefik.http.routers.dozzle.entrypoints: "https"
|
||||
traefik.http.routers.dozzle.tls: "true"
|
||||
traefik.http.services.dozzle.loadbalancer.server.port: "8080"
|
||||
traefik.http.services.dozzle.loadbalancer.server.scheme: "http"
|
||||
traefik.http.services.dozzle.loadbalancer.server.scheme: "http"
|
||||
|
Loading…
Reference in New Issue
Block a user