-
Notifications
You must be signed in to change notification settings - Fork 20
Docker Compose
Mike Neilson edited this page May 27, 2025
·
4 revisions
Moved here via PR #649
By default port 8081 is used to expose the required services. The database is directly exposed on port 1525 to aid in diagnostics.
environment variable APP_PORT can be set to override the default 8081 port. The database port will need to be manually changed in the docker compose yaml file.
docker-compose up -d
# or
docker compose up -d- A CWMS Oracle Database - By default a non-permanent "ready" database.
- An instance of the CWMS Data API
- An instance of keycloak that can be used to login. (The swagger-ui will allow entering a username and password and set the appropriate variables.)
The following users and permissions are available:
| User | Password | Office | Permissions |
|---|---|---|---|
| l2hectest.1234567890 | l2hectest | SPK | General User |
| l1hectest | l1hectest | SPL | No permissions |
| m5hectest | m5hectest | SWT | General User |
| service | host-port | container-port | description | test urls |
|---|---|---|---|---|
| traefik | 8444 | 8443 | entry point - web traffic | https://cwms-data.test:8444/cwms-data/ https://auth.test:8444/auth/realms/cwms https://auth.test:8444/auth/realms/cwms/.well-known/openid-configuration |
| db | 1521 | oracle database | ||
| api | 7000 | tomcat CWMS Data API | ||
| auth | 8080 | authentication-token service (keycloak) | ||
| db_install | connects to db and installs CWMS schema if establishing a long lived database | |||
| db_webuser_ permissions | connects to db and sets permissions |