Welcome to the Docker Compose Collection for web developers! This collection includes Docker Compose configurations for common services used in web development projects. With these configurations, you can quickly set up your development environment on any system.
- MySQL: A popular relational database.
- MeiliSearch: A powerful, fast, and open-source search engine.
- Socket.IO: Real-time bidirectional event-based communication.
- Redis: An in-memory data structure store, used as a caching layer.
- MongoDB: A NoSQL database for storing and retrieving data.
Feel free to explore each service's folder for specific configurations and customization options.
-
Clone this repository to your local machine:
git clone https://github.com/moh-slimani/docker-compose-collection.git
-
Navigate to the desired service folder, e.g.,
mysql:cd docker-compose-collection/mysql -
Copy the example environment file (if available):
cp .env.example .env
-
Update the
.envfile with your preferred configurations. -
Run the Docker Compose command to start the service:
docker-compose up -d
-
That's it! Your service is now up and running.
Each service folder contains a .env.example file with default configurations. Copy this file to .env and modify it according to your project's needs.
- add
.env.examplefile to mysql. - add
.env.examplefile to meilisearch. - add
.env.examplefile to mongo.
If you have improvements or additional services to contribute, feel free to submit a pull request.
This Docker Compose Collection is licensed under the MIT License - see the LICENSE file for details.
Happy coding!