This commit is contained in:
j
2026-03-07 19:32:02 +13:00
commit bd907c8d40
21 changed files with 1303 additions and 0 deletions

View File

@@ -0,0 +1,20 @@
# Infrastructure Map Configuration
#
# Format:
# GROUPNAME
# USERNAME@SERVERNAME
# USERNAME@SERVERNAME
# ...
#
# GROUPNAME is a freeform label to group servers together.
# USERNAME@SERVERNAME is the SSH user and hostname/IP to connect to.
#
# Example:
#
# Production
# root@prod-web-01
# root@prod-db-01
#
# Development
# deploy@dev-01
# deploy@dev-02

18
config/service.env Normal file
View File

@@ -0,0 +1,18 @@
CONTAINER_NAME=infmap
SSH_USER="root"
# Web UI port (HTTP)
WEB_PORT=8080
# Path to SSH private key on the host (used to connect to monitored servers)
SSH_KEY_PATH=/root/.ssh/id_ed25519
# Collection settings
COLLECTION_INTERVAL=300
MAX_CONCURRENT_SSH=5
# MySQL credentials
MYSQL_ROOT_PASSWORD=changeme_root
MYSQL_DATABASE=infmap
MYSQL_USER=infmap
MYSQL_PASSWORD=changeme