add inital compose
This commit is contained in:
16
compose.yml
Normal file
16
compose.yml
Normal file
@@ -0,0 +1,16 @@
|
|||||||
|
services:
|
||||||
|
icinga-satellite:
|
||||||
|
image: git.ao-it.net/docker/icinga-satellite:latest
|
||||||
|
hostname: ${ICINGA_SATELLITE_CN:-satellite.example.com}
|
||||||
|
restart: always
|
||||||
|
ports:
|
||||||
|
- 5665:5665
|
||||||
|
volumes:
|
||||||
|
- ./files:/data
|
||||||
|
environment:
|
||||||
|
ICINGA2_JOIN_TICKET: ${ICINGA_JOIN_TICKET}
|
||||||
|
ICINGA2_PARENT_HOST: ${ICINGA_PARENT_HOST:-icinga.example.com}
|
||||||
|
ICINGA2_PARENT_CN: ${ICINGA_PARENT_CN:-icinga.example.com}
|
||||||
|
ICINGA2_PARENT_ZONE: ${ICINGA_PARENT_ZONE:-master}
|
||||||
|
ICINGA2_SATELLITE_CN: ${ICINGA_SATELLITE_CN:-satellite.example.com}
|
||||||
|
ICINGA2_SATELLITE_ZONE: ${ICINGA_SATELLITE_ZONE:-icinga-satellite}
|
||||||
6
env.sample
Normal file
6
env.sample
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
ICINGA_JOIN_TICKET: # generate on master node with: icinga2 pki ticket --cn $ICINGA_SATELLITE_CN
|
||||||
|
ICINGA_PARENT_HOST: icinga.example.com # set ip is different from CN (FQDN)
|
||||||
|
ICINGA_PARENT_CN: icinga.example.com
|
||||||
|
ICINGA_PARENT_ZONE: master
|
||||||
|
ICINGA_SATELLITE_CN: satellite.example.com
|
||||||
|
ICINGA_SATELLITE_ZONE: icinga-satelliete-zone
|
||||||
Reference in New Issue
Block a user