GeezerVisonThe World Wide Web, restored to 800 pixels of glory. |
| Home|About|Gaming cabinet|Archives|How it works|Starter sites |
GeezerVison is showing github.com — ORISO-UserService/config.env.example at dev · OpenResilienceInitiative/ORISO-UserService Expand file tree/ Copy pathconfig.env.exampleMore file actions 110 lines (95 loc) · 5.34 KB / Copy pathconfig.env.exampleFile metadata and controls110 lines (95 loc) · 5.34 KB 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 # Copy to config.env and fill the CHANGE_ME values. # config.env is ignored by git and must not be committed. # # Every variable the service refuses to start without is listed here. # Background and the full list: docs/required-environment.md. KEYCLOAK_REALM=online-beratung KEYCLOAK_CONFIG_ADMIN_CLIENTID=backend-admin KEYCLOAK_BACKEND_ADMIN_CLIENT_SECRET=CHANGE_ME KEYCLOAK_BACKEND_ADMIN_SERVICE_SUBJECT=CHANGE_ME KEYCLOAK_CONFIG_APP_CLIENT_ID=app KEYCLOAK_DISABLE_TRUST_MANAGER=true KEYCLOAK_ALLOW_ANY_HOSTNAME=true # Optional if the remote dev API, Matrix, or Keycloak certificates are not trusted by your local JVM. # Uncomment after creating a local truststore that contains the required dev CA certificate. # JAVA_TOOL_OPTIONS="-Djavax.net.ssl.trustStore=$HOME/.oriso/dev-truststore.jks -Djavax.net.ssl.trustStorePassword=changeit" SPRING_DATASOURCE_USERNAME=userservice SPRING_DATASOURCE_PASSWORD=CHANGE_ME # run-local-remote-db.sh exports SPRING_DATASOURCE_URL before sourcing this file. # Uncomment to point the service somewhere else; a value set here wins. # SPRING_DATASOURCE_URL=jdbc:mariadb://localhost:3306/userservice # Schema migrations — see docs/schema-migrations.md. # The remote dev database is migrated by the deployed UserService, not from a # laptop. A local Liquibase run would apply changesets, and in time the seed/demo # changesets, to a database the whole team shares; an interrupted run leaves # DATABASECHANGELOGLOCK held against the real deployment. Declaring the migrations # externally managed is what lets SchemaMigrationGuard accept Liquibase being off. SPRING_LIQUIBASE_ENABLED=false ORISO_MIGRATIONS_EXTERNALLY_MANAGED=true # Against a database only you use, let Liquibase own the schema instead: set # SPRING_LIQUIBASE_ENABLED=true and drop ORISO_MIGRATIONS_EXTERNALLY_MANAGED. # # spring.jpa.hibernate.ddl-auto must stay 'validate' (its default). Overriding # SPRING_JPA_HIBERNATE_DDL_AUTO to update, create or none is refused by # SchemaMigrationGuard: Hibernate's comparison against the live schema is what # catches an entity change nobody wrote a changeset for. SERVER_SERVLET_CONTEXT_PATH=/service SPRING_ZIPKIN_ENABLED=false IDENTITY_TECHNICAL_CLIENT_ID=backend-technical KEYCLOAK_BACKEND_TECHNICAL_CLIENT_SECRET=CHANGE_ME IDENTITY_OPENID_CONNECT_URL=https://auth.oriso-dev.site/realms/online-beratung/protocol/openid-connect MATRIX_API_URL=https://matrix.oriso-dev.site MATRIX_SERVER_NAME=91.99.183.160 MATRIX_REGISTRATION_SHARED_SECRET=CHANGE_ME MATRIX_ADMIN_USERNAME=matrixadm MATRIX_ADMIN_PASSWORD=CHANGE_ME MATRIX_MIGRATION_ENABLED=true MATRIX_PRESENCE_ENABLED=false # HMAC secrets — the service refuses to start while either is unset. # Any random value works locally: openssl rand -hex 32 # Keep the two distinct from each other and from service.encryption.appkey. The # separation is the point: one leaked secret must not let the pseudonymized values # of the other purpose be cross-correlated. STATISTICS_MESSAGE_COUNT_HMAC_SECRET=CHANGE_ME # In a real deployment this must match the platform-wide MatrixRTC secret, or # correlation ids stop lining up between the services that log them. MATRIXRTC_CALL_POLICY_HMAC_SECRET=CHANGE_ME # Optional. Secret behind the signature in calendar subscription feed addresses (ADR-032). # Unset: derived from STATISTICS_MESSAGE_COUNT_HMAC_SECRET under its own label. Changing it # invalidates every feed address. # CALENDAR_FEED_SECRET=CHANGE_ME # Public origins embedded in outgoing mails (invites, magic link, DPA signing, notices). # Required, no defaults: the service refuses to start and names each missing one. Locally # they point at the frontend on localhost:9001. APP_BASE_URL=http://localhost:9001 SYSTEM_NOTIFICATION_FRONTEND_BASE_URL=http://localhost:9001 DPA_SIGN_FRONTEND_BASE_URL=http://localhost:9001 MAGIC_LINK_FRONTEND_BASE_URL=http://localhost:9001 ACCOUNT_INVITE_APP_FRONTEND_BASE_URL=http://localhost:9001 ACCOUNT_INVITE_ADMIN_FRONTEND_BASE_URL=http://localhost:9001 # Optional: enable pending-human-review mail translations only in an isolated Dev deployment # when testing those languages. Default false uses reviewed German mail copy. Do not set in # production before the language review and catalogue release-state update. EMAIL_ALLOW_UNREVIEWED_LOCALES=false MULTITENANCY_ENABLED=true FEATURE_MULTITENANCY_WITH_SINGLE_DOMAIN_ENABLED=true # The local service calls AgencyService internal endpoints through the public dev API gateway. # Base path for the generated AgencyService client. The client appends /agencies, # /agencies/{agencyIds}, and /internal/agencies/{id}/matrix-service-account itself. AGENCY_SERVICE_API_URL=https://api.oriso-dev.site/service CONSULTING_TYPE_SERVICE_API_URL=https://api.oriso-dev.site/service # Use the remote dev API by default. If TenantService is running locally, use: # TENANT_SERVICE_API_URL=http://localhost:8081/service TENANT_SERVICE_API_URL=https://api.oriso-dev.site/service # Local infrastructure expected by this setup. SPRING_REDIS_HOST=localhost SPRING_REDIS_PORT=6379 SPRING_REDIS_PASSWORD=CHANGE_ME SPRING_RABBITMQ_HOST=localhost SPRING_RABBITMQ_PORT=5672 SPRING_RABBITMQ_USERNAME=admin SPRING_RABBITMQ_PASSWORD=CHANGE_ME REGISTRATION_CORS_ALLOWED_ORIGINS=http://localhost:9001,http://127.0.0.1:9001 REGISTRATION_CORS_ALLOWED_PATHS=/** # Optional local-only fallback when AgencyService is unavailable for consultant public data. # REGISTRATION_AGENCY_FALLBACK_CONSULTING_TYPE_ID=1 |
| You are visitor 01402775 — GeezerVison does not store the pages you look up. Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required. |