An open API service indexing awesome lists of open source software.

https://github.com/computestacks/backup-agent

Node Agent
https://github.com/computestacks/backup-agent

Last synced: 8 days ago
JSON representation

Node Agent

Awesome Lists containing this project

README

          

# ComputeStacks Node Agent

This agent runs on each node and uses consul as it's database backend. It currently performs the following purpose:

* Manage volume backups
* Creates firewall rules for container services
* Performs volume restores

## Running

```bash
docker run -d --name cs-agent --init \
--network host \
--cap-add=NET_ADMIN \
-v /var/run/docker.sock:/var/run/docker.sock \
-v /etc/computestacks:/etc/computestacks:ro \
ghcr.io/computestacks/backup-agent:latest
```

## Development

Install required go packages with `go mod download`

**NOTE:** Do not run `go get -u` to update `go modules`. Docker has not used semantic versioning in quite some time, so running the update all command will replace the current docker api with an older version, thus breaking everything.
Update modules with `go get @` instead.