.envREFLEX_AGENT_PAIR_MODE=true
REFLEX_API_HOST=http://yourapihosthere
REFLEX_AGENT_PAIR_TOKEN=your.pairing.token
REFLEX_AGENT_ROLES=runner,poller
REFLEX_AGENT_IGNORE_TLS=true
docker run -v $PWD/.env:/.env reflex-agent:latestversion: "3.8"
services:
reflex-agent:
image: zeroonesec/reflex-agent:latest
volumes:
- ./.env:/.env:ro
- ./config.txt:/config.txt
python reflex-agent.py --pair --token <token> --console https://myconsole.com --roles poller,runnerpython reflex-agent.pysudo vi /lib/systemd/system/reflex-agent.service
[Unit]
Description=Reflex Agent
After=multi-user.target
[email protected]
[Service]
Type=simple
WorkingDirectory=/etc/reflex
ExecStart=/usr/bin/python /etc/reflex/reflex-agent.py
StandardInput=tty-force
[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload
sudo systemctl enable reflex-agent.service
sudo systemctl start reflex-agent.service
Content type
Image
Digest
sha256:edbeb0c75…
Size
103.6 MB
Last updated
almost 2 years ago
docker pull hasecuritysolutions/reflex-agent