From fe6173f08fe3836e963e2a368d1ac8cc7e6b8118 Mon Sep 17 00:00:00 2001 From: Bryan Joshua Pedini Date: Wed, 4 Oct 2023 21:56:25 +0200 Subject: [PATCH] added MARIADB_HOST variable if one needs an external database --- docker-compose.yml | 2 +- example.env | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index 3a5cdd7..dffdedf 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -7,7 +7,7 @@ services: - mariadb environment: - TZ=${PI_TIMEZONE} - - IPAM_DATABASE_HOST=mariadb + - IPAM_DATABASE_HOST=${MARIADB_HOST} - IPAM_DATABASE_NAME=${MARIADB_DATABASE} - IPAM_DATABASE_USER=${MARIADB_USER} - IPAM_DATABASE_PASS=${MARIADB_PASSWORD} diff --git a/example.env b/example.env index eb2686d..e454999 100644 --- a/example.env +++ b/example.env @@ -14,6 +14,7 @@ TRAEFIK_HTTPS_MIDDLEWARES=hsts PI_VERSION=1.5x PI_TIMEZONE=Europe/Rome PI_SCAN_INTERVAL=10m +MARIADB_HOST=mariadb # PHP IPAM Diun PI_DIUN_ENABLE=true PI_DIUN_WATCHREPO=true