From a2b6a239c55bed21f697eaad46b984c6b1ac22be Mon Sep 17 00:00:00 2001
From: anima
Date: Sun, 2 Feb 2025 23:02:16 +0100
Subject: [PATCH] fix var for port
---
compose.yml | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/compose.yml b/compose.yml
index e028c0a..0a6c8cd 100644
--- a/compose.yml
+++ b/compose.yml
@@ -187,10 +187,9 @@ services:
volumes:
- ./files/icinga2:/data
ports:
- - ${ICINGA_API_PORT:5665}:5665 # only need if you plan to use api from other sources as icingaweb2
+ - ${ICINGA_API_PORT:-5665}:5665 # only need if you plan to use api from other sources as icingaweb2
networks:
- icinga
- #- backend
environment:
# REMOVE VARS HERE IF YOU EDIT THE CONFIG DIRECTLY!!
# The variables are primarily for the initial setup, later editing is recommended directly in the icinga config.