# =============================================================================
# Compose project environment for the node-02 Alloy stack
# =============================================================================
# Separate from deploy/.env on purpose: each Portainer stack resolves `.env`
# from the directory holding its compose file, and this host's bind address,
# subnet and host label differ from node-01's. Sharing one file would publish
# this stack on an address node-02 does not have.
#
# No credentials live here: the config image is pulled from the Gitea registry
# and this stack mounts no secrets.
# =============================================================================

# --- identity -------------------------------------------------------------
OBS_ENV=homelab
OBS_BUSINESS_SERVICE=platform-homelab
OBS_HOST_NAME=docker-node-02

# --- bind address ---------------------------------------------------------
MONITORING_BIND_IP=192.168.1.16
MONITORING_SUBNET=172.16.209.0/24
ALLOY_HOST_PORT=12345

# --- destinations ---------------------------------------------------------
# FQDN on purpose: docker-node-01 does not resolve as a short name here.
OBS_REMOTE_WRITE_URL=http://docker-node-01.lan.mildgrim.com:8428/api/v1/write
OBS_LOGS_PUSH_URL=http://docker-node-01.lan.mildgrim.com:9428/insert/loki/api/v1/push

# --- config image ---------------------------------------------------------
CONFIG_IMAGE=git.mildgrim.com/mildgrim/monitoring-by-fiwe:latest
