This commit is contained in:
2024-07-09 19:12:11 +01:00
parent 6175423dd5
commit 29979248d0
5 changed files with 54 additions and 0 deletions

View File

@@ -0,0 +1,28 @@
---
include:
- ./zabbix-docker/docker-compose_v3_alpine_pgsql_latest.yaml
services:
ts-zabbix-server:
image: tailscale/tailscale:latest
container_name: ts-zabbix-server
hostname: zabbix
environment:
- TS_AUTHKEY=${TAILSCALE_OAUTH_KEY}
- TS_EXTRA_ARGS=--advertise-tags=${TAILSCALE_TAGS}
- TS_SERVE_CONFIG=/config/zabbix-server.json
- TS_STATE_DIR=/var/lib/tailscale
volumes:
- ts-zabbix-server-state:/var/lib/tailscale
- ${PWD}/ts-zabbix-server/config:/config
- /dev/net/tun:/dev/net/tun
cap_add:
- net_admin
- sys_module
restart: unless-stopped
volumes:
ts-kuma-state:
driver: local
ts-zabbix-server-state:
driver: local