A lightweight http service to manage app configurations across multiple environments
313
A lightweight configuration service that supports managing app configurations across multiple environments. Inspired by tools like etcd, consul kv and spring cloud config, Configmonkey was built with distributed environments in mind, and it's goal is to provide an easy way to externalize and manage microservice configurations from a single place, without interfering with the application's ci/cd lifecycle.
version: "3.8"
services:
configmonkey:
image: madoke/configmonkey:latest
restart: always
user: configmonkey
environment:
- ROCKET_DATABASES={postgres_configmonkey={url="postgres://postgres:configmonkey@db:5432/configmonkey"}}
- ROCKET_ADDRESS=0.0.0.0
ports:
- 8000:8000
depends_on:
db:
condition: service_healthy
db:
image: postgres
restart: always
user: postgres
environment:
- POSTGRES_DB=configmonkey
- POSTGRES_PASSWORD=configmonkey
ports:
- 5432:5432
expose:
- 5432
healthcheck:
test: ["CMD", "pg_isready"]
interval: 10s
timeout: 5s
retries: 5
docker pull madoke/configmonkey:latest