https://github.com/recruitee/failover-watcher
https://github.com/recruitee/failover-watcher
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/recruitee/failover-watcher
- Owner: Recruitee
- License: mit
- Created: 2016-10-16T10:46:46.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-10-17T13:49:53.000Z (over 9 years ago)
- Last Synced: 2024-12-27T01:11:10.210Z (over 1 year ago)
- Language: Shell
- Homepage:
- Size: 3.91 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Keepalived cluster setup
STATE
PRIORITY
CLUSTER_ID
UNICAST_IPS
PASSWORD
## OVH API setup
OVH_APP_KEY
OVH_APP_SECRET
OVH_APP_CONSUMER
OVH_PROJECT
OVH_FAILOVER_IP
OVH_CURRENT_SERVER
# Commands
docker build -f Dockerfile -t failover-watcher .
docker run -it --rm \
-e STATE=MASTER \
-e PRIORITY=100 \
-e CLUSTER_ID=50 \
-e UNICAST_IPS="127.0.0.1 127.0.0.1" \
-e PASSWORD=password \
-e OVH_APP_KEY=key \
-e OVH_APP_SECRET=secret \
-e OVH_APP_CONSUMER=consumer \
-e OVH_PROJECT=project \
-e OVH_FAILOVER_IP=ip \
-e OVH_CURRENT_SERVER=server \
failover-watcher