Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/johnhof/couchdb-containerpilot
couchdb + containerpilot docker images for bootstrapping your autopiloted infrastructure
https://github.com/johnhof/couchdb-containerpilot
Last synced: 20 days ago
JSON representation
couchdb + containerpilot docker images for bootstrapping your autopiloted infrastructure
- Host: GitHub
- URL: https://github.com/johnhof/couchdb-containerpilot
- Owner: johnhof
- Created: 2017-07-17T20:15:41.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-07-17T20:16:16.000Z (over 7 years ago)
- Last Synced: 2024-10-05T01:41:08.554Z (about 1 month ago)
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# couchdb-containerpilot
couchdb + [containerpilot](https://www.joyent.com/containerpilot) docker images for bootstrapping your [autopiloted](https://www.joyent.com/blog/applications-on-autopilot) infractructure
[**Dockerhub Link**](https://hub.docker.com/r/johnhof/couchdb-containerpilot/)
## Configuration
### Couchdb
See the [couchdb image](https://hub.docker.com/_/couchdb/) documentation
### Containerpilot
Uses default containerpilot.json file:
```
{
"consul": "consul:8500",
"logging": {
"level": "INFO",
"format": "default",
"output": "stdout"
},
"jobs": [
{
"name": "couchdb",
"exec": "couchdb",
"restarts": "unlimited",
"port": 3000,
"health": {
"exec": "/usr/bin/curl --fail -s -o /dev/null http://localhost:5984",
"interval": 3,
"ttl": 10
}
}
]
}
```Can be overwritten by either:
- Mapping a custom volume/config to `/etc/containerpilot.json`
- Mapping a custom volume/config to a custom location and setting the `CONTAINERPILOT` path to reflect it#### Consul
Expects DNS entry for `consul`
Expects consul port to be `8500`
Healthcheck hits `/` expecting 200