diff --git a/docker-compose-hetzner.yml b/docker-compose-hetzner.yml index dcb94a3..49d3835 100644 --- a/docker-compose-hetzner.yml +++ b/docker-compose-hetzner.yml @@ -144,6 +144,8 @@ services: - "OD_GRAFANA_PARAMS=${OD_GRAFANA_PARAMS}" - "MLTD_GRAFANA_PARAMS=${MLTD_GRAFANA_PARAMS}" - "CEPTD_KIBANA_PARAMS=${CEPTD_KIBANA_PARAMS}" + - "RSYSLOG_SERVER=${RSYSLOG_SERVER}" + - "RSYSLOG_PORT=${RSYSLOG_PORT}" networks: - "proxy-network" @@ -153,6 +155,9 @@ services: container_name: kea_od depends_on: - timescaledb + environment: + - "RSYSLOG_SERVER=${RSYSLOG_SERVER}" + - "RSYSLOG_PORT=${RSYSLOG_PORT}" restart: unless-stopped expose: - 9091 @@ -166,6 +171,9 @@ services: depends_on: - timescaledb - mosquitto + environment: + - "RSYSLOG_SERVER=${RSYSLOG_SERVER}" + - "RSYSLOG_PORT=${RSYSLOG_PORT}" restart: unless-stopped expose: - 5000 diff --git a/hetzner_deploy.groovy b/hetzner_deploy.groovy index 9ffe441..9aa790e 100644 --- a/hetzner_deploy.groovy +++ b/hetzner_deploy.groovy @@ -76,6 +76,9 @@ pipeline { OD_GRAFANA_PARAMS = "/d/qDDyJZ6Wz/od?orgId=1" MLTD_GRAFANA_PARAMS = "/d/dtCrgk6Wk/mltd?orgId=1" CEPTD_KIBANA_PARAMS = "/app/kibana#/dashboard/Suricata?_g=(refreshInterval%3A(pause%3A!t%2Cvalue%3A0)%2Ctime%3A(from%3Anow-15m%2Cto%3Anow))" + + RSYSLOG_SERVER = credentials('rsyslog-ip') + RSYSLOG_PORT = credentials('rsyslog-port') } stages {