Single Point of Truth for all project credentials Last Update: 2026-02-09 โ
All credentials are defined in: config/shared/docker/.env
Format: KEY=value (no quotes!)
Version Control:
.env - Contains real credentials (in .gitignore).env.template - Template with placeholders (in Git)| Service | Username | Password | URL |
|โโโ|โโโ-|โโโ-|โโ|
| Frontend Apps | testuser | testpassword | JavaFX Desktop Apps |
| Keycloak Admin | admin | admin | http://localhost:8080/admin |
| Database | User | Password | Host | Port |
|โโโ-|โโ|โโโ-|โโ|โโ|
| jeeeraaah | jeeeraaah | jeeeraaah | localhost | 5432 |
| lib_test | lib_test | lib_test | localhost | 5434 |
| keycloak | keycloak | keycloak | localhost | 5433 |
โ
# Main application database
POSTGRES_JEEERAAAH_HOST=localhost
POSTGRES_JEEERAAAH_PORT=5432
POSTGRES_JEEERAAAH_DATABASE=jeeeraaah
POSTGRES_JEEERAAAH_USER=jeeeraaah
POSTGRES_JEEERAAAH_PASSWORD=jeeeraaah
JDBC URL:
jdbc:postgresql://localhost:5432/jeeeraaah
Used by:
# For library integration tests
POSTGRES_LIB_TEST_HOST=localhost
POSTGRES_LIB_TEST_PORT=5434
POSTGRES_LIB_TEST_DATABASE=lib_test
POSTGRES_LIB_TEST_USER=lib_test
POSTGRES_LIB_TEST_PASSWORD=lib_test
JDBC URL:
jdbc:postgresql://localhost:5434/lib_test
Used by:
root/lib/*/src/test/java tests# Keycloak persistence
POSTGRES_KEYCLOAK_HOST=localhost
POSTGRES_KEYCLOAK_PORT=5433
POSTGRES_KEYCLOAK_DATABASE=keycloak
POSTGRES_KEYCLOAK_USER=keycloak
POSTGRES_KEYCLOAK_PASSWORD=keycloak
JDBC URL:
jdbc:postgresql://localhost:5433/keycloak
Used by:
KEYCLOAK_ADMIN_USER=admin
KEYCLOAK_ADMIN_PASSWORD=admin
Access:
KEYCLOAK_REALM=jeeeraaah-realm
Automatically created with:
jeeeraaah-frontendtestusertask-*, taskgroup-*
KEYCLOAK_TEST_USER=testuser
KEYCLOAK_TEST_PASSWORD=testpassword
Used by:
admin/admin) works only in Master Realmtestuser/testpassword) works only in jeeeraaah-realmWhen starting DashApp or GanttApp:
testing.properties:
testing.username=testuser
testing.password=testpassword
testing=true
.envRun once to create realm and test user:
cd ~/develop/github/java/main/root/lib/keycloak_admin
mvn exec:java -Dexec.mainClass="de.ruu.lib.keycloak.admin.setup.KeycloakRealmSetup"
Creates:
jeeeraaah-realmjeeeraaah-frontend (public, direct access grants enabled)testuser/testpasswordtask-read, task-create, task-update, task-deletetaskgroup-read, taskgroup-create, taskgroup-update, taskgroup-deletecurl -X POST 'http://localhost:8080/realms/jeeeraaah-realm/protocol/openid-connect/token' \
-H 'Content-Type: application/x-www-form-urlencoded' \
-d 'username=testuser' \
-d 'password=testpassword' \
-d 'grant_type=password' \
-d 'client_id=jeeeraaah-frontend'
Expected: JSON response with access_token
# Test jeeeraaah database
psql -h localhost -p 5432 -U jeeeraaah -d jeeeraaah
# Test lib_test database
psql -h localhost -p 5434 -U lib_test -d lib_test
# Password for both: same as username
Check Keycloak is running:
docker ps | grep keycloak
Verify realm exists:
# Run realm setup
ruu-keycloak-setup
Check credentials:
config/shared/docker/.envKEY=value (no spaces, no quotes)
Check PostgreSQL is running:
docker ps | grep postgres
Verify credentials match:
cat config/shared/docker/.env | grep POSTGRES
Check testing.properties:
cat testing.properties
# Should contain:
# testing.username=testuser
# testing.password=testpassword
# testing=true
โ ๏ธ These are DEVELOPMENT credentials only! For production:
Last updated: 2026-02-09
Status: Complete credential reference