This project sets up a Docker environment for running EMQX (Erlang MQTT Broker) and PostgreSQL services using Docker Compose.
- Docker installed on your machine
- Docker Compose installed
emqx-postgres-docker
├── docker-compose.yml
├── .env
└── README.md
-
Clone the repository (if applicable):
git clone <repository-url> cd emqx-postgres-docker
-
Configure Environment Variables: Edit the
.env
file to set your database credentials and any other necessary configuration for the EMQX service. -
Start the Services: Run the following command to start the EMQX and PostgreSQL services:
docker-compose up -d
-
Access EMQX: Once the services are running, you can access the EMQX dashboard at
http://localhost:18083
(default credentials:admin
/public
). -
Stopping the Services: To stop the running containers, use:
docker-compose down
-
EMQX: A scalable, open-source MQTT broker that supports a large number of concurrent connections and provides features like clustering and authentication.
-
PostgreSQL: A powerful, open-source relational database system that uses and extends the SQL language.
This project is licensed under the MIT License - see the LICENSE file for details.