All Compose Stacks
Last updated
Was this helpful?
Last updated
Was this helpful?
These compose files are on each host
version: '3'
services:
wazuh-agent:
image: kennyopennix/wazuh-agent:4.11.1@sha256:4786b1431e43a579a128b281c9d79ccab825a7dade9fe0dfd69ecbe46bb21bb3
volumes:
- /var/run/docker.sock:/var/run/docker.sock
- /:/rootfs:ro
- ossec:/var/ossec
network_mode: host
environment:
- JOIN_MANAGER_MASTER_HOST=$WAZUHMASTER
- JOIN_MANAGER_WORKER_HOST=$WAZUHWORKER
- JOIN_MANAGER_PASSWORD=$WAZUHPASS
- JOIN_MANAGER_USER=$WAZUHUSER
restart: always
autoheal:
deploy:
replicas: 1
environment:
AUTOHEAL_CONTAINER_LABEL: autoheal
AUTOHEAL_INTERVAL: 60
AUTOHEAL_START_PERIOD: 240
AUTOHEAL_DEFAULT_STOP_TIMEOUT: 60
AUTOHEAL_ONLY_MONITOR_RUNNING: true
image: willfarrell/autoheal@sha256:499d8e604d555aa4c2f8d50d7d40a1fa62c47120ee89b1917241b1ec9d24c6fa
network_mode: none
restart: always
volumes:
- /etc/localtime:/etc/localtime:ro
- /var/run/docker.sock:/var/run/docker.sock
docker-socket-proxy:
network_mode: host
image: ghcr.io/tecnativa/docker-socket-proxy:0.3.0
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
- CONTAINERS=1
watchtower:
image: ghcr.io/containrrr/watchtower:1.7.1
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- TZ=Australia/Melbourne
- WATCHTOWER_ROLLING_RESTART=true
- WATCHTOWER_CLEANUP=true
- WATCHTOWER_INCLUDE_STOPPED=true
- WATCHTOWER_POLL_INTERVAL=86400
- WATCHTOWER_LABEL_ENABLE=true
beszel-agent:
image: ghcr.io/henrygd/beszel/beszel-agent:0.11.1@sha256:d015952e66319b993a2103ad0f9bf3bf89eb8755500a51956091dc9457234b7c
restart: unless-stopped
network_mode: host
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
- LISTEN=${BESZELPORT:-45876}
- KEY=$BESZELKEY
- GPU="true"
healthcheck:
test: ['CMD', '/agent', 'health']
start_period: 5s
interval: 120s
labels:
- autoheal=true
volumes:
ossec:
version: '3'
services:
autoheal:
deploy:
replicas: 1
environment:
AUTOHEAL_CONTAINER_LABEL: autoheal
AUTOHEAL_INTERVAL: 60
AUTOHEAL_START_PERIOD: 240
AUTOHEAL_DEFAULT_STOP_TIMEOUT: 60
AUTOHEAL_ONLY_MONITOR_RUNNING: true
image: willfarrell/autoheal@sha256:499d8e604d555aa4c2f8d50d7d40a1fa62c47120ee89b1917241b1ec9d24c6fa
network_mode: none
restart: always
volumes:
- /etc/localtime:/etc/localtime:ro
- /var/run/docker.sock:/var/run/docker.sock\
docker-socket-proxy:
network_mode: host
image: ghcr.io/tecnativa/docker-socket-proxy:0.3.0
restart: unless-stopped
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
- CONTAINERS=1
watchtower:
image: ghcr.io/containrrr/watchtower:1.7.1
restart: always
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:
- TZ=${TZ:-Australia/Melbourne}
- WATCHTOWER_ROLLING_RESTART=true
- WATCHTOWER_CLEANUP=true
- WATCHTOWER_INCLUDE_STOPPED=true
- WATCHTOWER_POLL_INTERVAL=86400
- WATCHTOWER_LABEL_ENABLE=true
beszel-agent:
image: ghcr.io/henrygd/beszel/beszel-agent:0.11.1@sha256:d015952e66319b993a2103ad0f9bf3bf89eb8755500a51956091dc9457234b7c
restart: unless-stopped
network_mode: host
volumes:
- /var/run/docker.sock:/var/run/docker.sock:ro
environment:
- LISTEN=${BESZELPORT:-45876}
- KEY=$BESZELKEY
- GPU="true"
healthcheck:
test: ['CMD', '/agent', 'health']
start_period: 30s
interval: 120s
retries: 3
timeout: 60s
labels:
- autoheal=true