Website - Documentation - Demo
Squirrel Servers Manager is an all-in-one configuration and container management tool, powered by Ansible and Docker, with a focus on UI/UX. It is designed to provide a user-friendly alternative to well-known established tools, while being totally open-source and free.
It is possible to customize the behaviour of the agent by settings environment variables, in the .env
file:
Env | Required | Example | Description |
---|---|---|---|
URL_MASTER |
YES | http://192.168.0.3:8000 | URL of the SSM API |
OVERRIDE_IP_DETECTION |
NO | 192.168.0.1 | Disable the auto-detection of the IP and set a fixed value |
AGENT_HEALTH_CRON_EXPRESSION |
NO | '*/30 * * * * *' | Frequency of agent self-check |
STATISTICS_CRON_EXPRESSION |
NO | '*/30 * * * * *' | Frequency of stats push |
DEBUG |
NO | true | Enable debug logs |
version: '3.8'
services:
ssm_agent:
image: ghcr.io/squirrelcorporation/squirrelserversmanager-agent:docker
network_mode: host
privileged: true
env_file:
- .env
pid: host
restart: unless-stopped
volumes:
- /proc:/proc
- /var/run/docker.sock:/var/run/docker.sock
- ssm-agent-data:/data
volumes:
ssm-agent-data:
or
git clone https://github.com/SquirrelCorporation/SquirrelServersManager-Agent
git checkout docker
docker-compose up -d
or
docker pull ghcr.io/squirrelcorporation/squirrelserversmanager-agent:docker
docker volume create ssm-agent-data
docker run --network host \
--privileged \
--pid=host \
-v /proc:/proc \
-v /var/run/docker.sock:/var/run/docker.sock \
-v ssm-agent-data:/data \
--restart unless-stopped \
ghcr.io/squirrelcorporation/squirrelserversmanager-agent:docker
Env | Required | Example | Description |
---|---|---|---|
URL_MASTER |
YES | http://192.168.0.3:8000 | URL of the SSM API |
OVERRIDE_IP_DETECTION |
NO | 192.168.0.1 | Disable the auto-detection of the IP and set a fixed value |
AGENT_HEALTH_CRON_EXPRESSION |
NO | '*/30 * * * * *' | Frequency of agent self-check |
STATISTICS_CRON_EXPRESSION |
NO | '*/30 * * * * *' | Frequency of stats push |
HOST_ID_PATH |
NO | /data/ |
Path where is stored the registered HostID |
LOGS_PATH |
NO | /data/logs |
Path where are store the logs |
HOST_ID |
NO | xxx-xxx-xxx-xxx | UUID of the registered Device in SSM |
DEBUG |
NO | true | Enable debug logs |