Sign inSign up

ziggyds/cdm

By ziggyds

Updated over 1 year ago

Container database manager

Image
0

305

ziggyds/cdm repository overview

CDM Container Database Manager

https://github.com/ziggyds/cdm

A small app that can spin up different types of database on a host on the fly. Which databases are available is configured in the db_configs.json. You can mount a custom one if the default one doesn't suit your needs. It needs the docker socket to be able to start and stop containers or use a docker socket proxy.

Compose file included to easily run the app.

Or

docker run --name cdm -d -v /var/run/docker.sock:/var/run/docker.sock -p 5000:5000 ziggyds/cdm:latest

Custom db config file

docker run --name cdm -d -v /var/run/docker.sock:/var/run/docker.sock -v ./db_configs.json:/app/db_configs.json -p 5000:5000 ziggyds/cdm:latest

Docker build

docker build -f docker/Dockerfile -t cdm:latest -t cdm:v0.0.1 .

Tag summary

Content type

Image

Digest

sha256:37edd043f

Size

50.1 MB

Last updated

over 1 year ago

docker pull ziggyds/cdm