diff --git a/.dev/migration/README.md b/.dev/migration/README.md index 8bea0a4..232a54f 100644 --- a/.dev/migration/README.md +++ b/.dev/migration/README.md @@ -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 diff --git a/.dev/migration/docker-compose.yaml b/.dev/migration/docker-compose.yaml index 15df805..020bd8e 100644 --- a/.dev/migration/docker-compose.yaml +++ b/.dev/migration/docker-compose.yaml @@ -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