This repository provides a ready-to-use Docker Compose configuration to spin up the full Gravitee API Management stack, orchestrating the following services:
- MongoDB for data storage
- Elasticsearch for API analytics and indexing
- Gravitee API Gateway, Management API, Management UI (Console), and Portal UI
- Nginx as a reverse proxy, routing traffic to the Gateway
- Docker ≥ 20.10
- Docker Compose ≥ 1.29
- Git
├── env/
│ └── example/ # Example environment variable files
├── mount/
│ └── nginx/ # Nginx configuration
│ ├── nginx.conf
│ └── conf.d/
│ └── default.conf
├── .gitignore
└── docker-compose.yml # Service definitions and networks-
Copy the example
.envfiles into the project root:cp env/example/*.env env -
Edit each
.envfile to adjust:PORTAL_API_URLMGMT_API_URL- Any credentials, paths, or other custom settings
-
Clone this repository:
git clone https://github.com/lucassm02/gravitee-setup.git cd gravitee-setup -
Ensure your
.envfiles are configured as above. -
Start all services in detached mode:
docker-compose up -d
Once the stack is up and running, you can access:
| Service | URL |
|---|---|
| API Gateway | http://localhost:8082 |
| Management API | http://localhost:8083 |
| Management UI (Console) | http://localhost:8084 |
| Portal UI | http://localhost:8085 |
| Nginx (Reverse Proxy) | http://localhost |
-
Open an issue to suggest improvements or report bugs.
-
Fork the repository and create a feature branch:
git checkout -b feature/your-feature
-
Submit a pull request describing your changes.