30 lines
816 B
YAML
30 lines
816 B
YAML
mainunit: zabbix-server.service
|
|
mainunitfile: zabbix-server.service.j2
|
|
ports:
|
|
- web
|
|
templatefiles:
|
|
- src: compose.yml.j2
|
|
dest: ~/compose.yml
|
|
exports:
|
|
web:
|
|
sites:
|
|
- proxyaddress: "http://127.0.0.1:{{ ports.web }}"
|
|
publicname: "{{ config.domainname }}"
|
|
configdefinition:
|
|
description: Zabbix config
|
|
type: object
|
|
additionalProperties: false
|
|
properties:
|
|
domainname:
|
|
type: string
|
|
description: The url that is used for the site
|
|
required:
|
|
- domainname
|
|
const:
|
|
image:
|
|
# Zabbix 7 (LTS) can't yet handle postgres 17
|
|
postgres: docker.io/library/postgres:16.6
|
|
# version 7.0.7 has a bug: https://support.zabbix.com/browse/ZBX-25765
|
|
zabbix: docker.io/zabbix/zabbix-server-pgsql:7.0.6-ubuntu
|
|
web: docker.io/zabbix/zabbix-web-nginx-pgsql:7.0.6-ubuntu
|
|
|