This repository contains Docker Compose configurations for various services used for testing and development environments.
You can use our CLI tool to manage infrastructure services easily:
# Install the CLI tool
cd infracli
./scripts/install.sh
# List available services
infracli list
# Get connection information for a service
infracli info mysql
# Start services
infracli run mysql
infracli run mongo elasticsearch-kibana
infracli run all
# Stop services
infracli down mysql
infracli down allEach service has its own detailed documentation available in its directory.
A simple MongoDB setup for development and testing purposes.
A PostgreSQL setup with initialization script for development and testing.
📄 View PostgreSQL Documentation
A Redis setup with persistence for development and caching needs.
A complete MySQL setup with data persistence and initialization scripts.
A complete setup for Elasticsearch and Kibana with data persistence.
📄 View Elasticsearch & Kibana Documentation
A complete Neo4j graph database setup for development and testing purposes.
Our recommended workflow is to use the InfraCLI tool for all operations:
- Install the InfraCLI tool (see below)
- Use
infracli runto start services - Use
infracli infoto get connection details - Use
infracli downto stop services when finished
All databases are configured with named volumes to persist data between container restarts. If you need to reset the database, use infracli down [service] --volumes to remove the volumes as well.
Follow the pattern established in the existing directories to add configurations for additional databases as needed:
- Create a directory for your service in
services/ - Add a
docker-compose.ymlfile - Include a README.md with detailed usage information
- The CLI tool will automatically detect your new service
The repository includes a Go-based CLI tool for efficient service management. Learn more in the InfraCLI README.
- Start and stop services with simple commands
- Get connection details for any service
- Manage multiple services at once
- Automatic service discovery
- Proper cleanup with volume removal option
cd infracli
./scripts/install.shOnce installed, you can use infracli from anywhere in your system to manage the infrastructure services.