A collection of Docker Compose configurations for setting up various services easily.
This repository provides ready-to-use Docker Compose configurations for setting up commonly used services like PostgreSQL, Redis, RabbitMQ, and InfluxDB. Use this setup to quickly launch a containerized development environment.
docker-compose-influxdb.yml- InfluxDB setupdocker-compose-postgres.yml- PostgreSQLdocker-compose-rabbitmq.yml- RabbitMQ message brokerdocker-compose-redis.yml- Redis in-memory databasestart.sh- Script to start all servicesstop.sh- Script to stop and clean up services
git clone https://github.com/ryuu9505/docker-compose-setup.git
cd docker-compose-setup./start.shThis will bring up all defined services in detached mode (-d).
./stop.shThis will stop all running containers and remove unused ones.
- Modify any
docker-compose-*.ymlfile to customize the services. - You can add new services by creating additional
docker-compose-<service>.ymlfiles and adding it to the .env file. - Now the current
docker-compose-postgres.ymlfile usesDockerfile.postgresand PostgreSQL container is configured to executeinit-db.sqlafter startup, creating the platform_core database and setting up the postgis and pg_routing extensions.