Armadillo Local Quickstart Setup
Welcome! This guide shows how to run Armadillo, RServer, and Keycloak locally with Docker Compose.
Note
The preferred way to install Armadillo in production is via systemd. Feel free to use our docker setup.
Prerequisites
Quickstart
Clone this repository:
git clone https://github.com/molgenis/molgenis-service-armadillo.git
cd molgenis-service-armadillo/docker/quickstart
Start the stack
This starts:
- Armadillo → http://localhost:8000
- Keycloak → http://localhost:8080 (admin console)
- RServer → localhost:6311
Logs and data are stored in ./logs and ./data.
Host File Setup
For local development, the services need to resolve each other by hostname.
We recommend adding the following entries to your hosts file.
Linux / macOS
Edit /etc/hosts
with sudo:
add these lines:
Windows
- open notepad as Administrator
- Open the file:
Add the following lines:
Verify
you should see it resolve to 127.0.0.1
Why?
- Armadillo config expects to talk to http://keycloak:8080
- Keycloak redirects back to http://armadillo:8080
- RServer is contacted by Armadillo at http://rserver:6311
Keycloak Setup
After starting with docker compose up
, Keycloak is available at:
- Admin console: http://localhost:8081
- Login credentials:
admin / admin
Import Realm
The repo provides a realm config under ./keycloak/realms
. It is automatically imported on startup.
Add a Test User
- Open the Keycloak Admin Console
- Go to Realms → Armadillo
- Go to Users → Add User
- Username:
demo@example.org
- Email verified: ✅
- Go to Credentials → Set Password
- Password:
demo12345
- Temporary: OFF
Armadillo Configuration
- Add the previously added user in keycloak also to Armadillo
- Add a project
- Connect as a researcher to the service. Use http://localhost:8000 as the Armadillo URL.
Troubleshooting
Keycloak healthcheck fails
- Ensure port
9000
is free on your system (used for readiness checks).
[invalid_user_info_response] 403 Forbidden
- Confirm that the user exists in Keycloak and has a password set. This user also needs to be added to Armadillo.
Reset stack
Kubernetes
We have helm charts available for Kubernetes setup. Profiles are maintained bij DataShield. We have helm charts available in our private repository. If you need help or want to contribute please give us a message via support@molgenis.org or you can find us in the #Armadillo-support Slack channel