Merge branch 'RED-6661' into 'main'

Added UI for migration testing

See merge request fforesight/tenant-user-management-service!55
This commit is contained in:
Timo Bejan 2023-12-07 00:21:52 +01:00
commit d2e52263fb
2 changed files with 23 additions and 7 deletions

View File

@ -14,8 +14,8 @@
5. Start layout-parser with profile: dev
6. Start redaction-service with profile: dev
7. Debug issues & repeat
8. To start clean. docker compose down and up again.
8. UI is available at htpp://localhost:4200/ui -> login with manageradmin/OsloImWinter!23
9. To start clean. docker compose down and up again.
Useful info:
* This docker compose contains a dump from staging from ~2 weeks ago

View File

@ -2,6 +2,7 @@ version: '3.9'
services:
tenant-database:
pull_policy: always
image: nexus.knecon.com:5001/migration/redtenant-db-staging-multi-arch
ports:
- 15432:5432
@ -11,6 +12,7 @@ services:
- POSTGRES_DB=red-tenant
main-database:
image: nexus.knecon.com:5001/migration/tenantmanager-db-staging-multi-arch
pull_policy: always
ports:
- 25432:5432
environment:
@ -19,6 +21,7 @@ services:
- POSTGRES_DB=tenantmanager
keycloak-database:
image: nexus.knecon.com:5001/migration/keycloak-db-multi-arch
pull_policy: always
ports:
- 35432:5432
environment:
@ -56,7 +59,8 @@ services:
- 5672:5672
- 15672:15672
minio:
image: nexus.knecon.com:5001/migration/minio-staging
pull_policy: always
image: nexus.knecon.com:5001/migration/minio-staging-multi-arch
ports:
- "9001:9001"
- "9000:9000"
@ -64,7 +68,19 @@ services:
image: adminer:latest
ports:
- "58080:8080"
# pg_dump bitnami_keycloak -U bn_keycloak -h 127.0.0.1 -p 35432 > data.sql
# pg_dump tenantmanager -U tenantmanager -h 127.0.0.1 -p 25432 > data.sql
# pg_dump red-tenant -U tenant -h 127.0.0.1 -p 15432 > data.sql
ui:
pull_policy: always
image: nexus.knecon.com:5001/migration/test-ui-csp
environment:
API_URL: http://localhost:4200
APP_NAME: Local
FRONTEND_APP_VERSION: 42
OAUTH_URL: http://localhost:8080
OAUTH_CLIENT_ID: redaction
BASE_TRANSLATIONS_DIRECTORY: /assets/i18n/redact/
THEME: redact
ports:
- "4200:8080"
# pg_dump bitnami_keycloak -U bn_keycloak -h 127.0.0.1 -p 35432 > data.sql
# pg_dump tenantmanager -U tenantmanager -h 127.0.0.1 -p 25432 > data.sql
# pg_dump red-tenant -U tenant -h 127.0.0.1 -p 15432 > data.sql