Move template to template/ dir, add CI workflow, use pre-built image
This commit is contained in:
20
template/config/infrastructure.conf
Normal file
20
template/config/infrastructure.conf
Normal 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
|
||||
12
template/config/service.env
Normal file
12
template/config/service.env
Normal file
@@ -0,0 +1,12 @@
|
||||
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
|
||||
Reference in New Issue
Block a user