diff --git a/.env-basic-example b/.env-basic-example new file mode 100644 index 00000000..cfd75d0c --- /dev/null +++ b/.env-basic-example @@ -0,0 +1,20 @@ +# Base +NUXT_API_ORIGIN=http://localhost:8000 + +# Variants, in the future +NUXT_MAIN_API_ORIGIN=http://localhost:8000 +NUXT_BPJS_API_ORIGIN=http://localhost:8001 +NUXT_SYNC_API_ORIGIN=http://localhost:8009 +NUXT_API_VCLAIM_SWAGGER=https://vclaim-api.multy.chat + +# SSO +SSO_CONFIRM_URL=https://auth.dev.rssa.id/realms/sandbox/protocol/openid-connect/userinfo + +X_AP_CODE=rssa-sso +X_AP_SECRET_KEY=sapiperah +KEYCLOAK_LOGOUT_REDIRECT=http://localhost:3000/ + +# test local +KEYCLOAK_REALM=rssa_testing +KEYCLOAK_URL=http://127.0.0.1:8080/ +CLIENT_ID=portal-simrs-new diff --git a/.env-docker-example b/.env-docker-example new file mode 100644 index 00000000..30b5f0ad --- /dev/null +++ b/.env-docker-example @@ -0,0 +1,19 @@ +# Base +NUXT_API_ORIGIN=http://simrs-x-main-api:8000 + +# Variants, in the future +NUXT_MAIN_API_ORIGIN=http://simrs-x-main-api:8000 +NUXT_BPJS_API_ORIGIN=http://simrs-x-bpjs-api:8001 +NUXT_SYNC_API_ORIGIN=http://simrs-x-sync-api:8009 +NUXT_API_VCLAIM_SWAGGER=https://vclaim-api.multy.chat + +# SSO +SSO_CONFIRM_URL =https://auth.dev.rssa.id/realms/sandbox/protocol/openid-connect/userinfo + +X_AP_CODE=rssa-sso +X_AP_SECRET_KEY=sapiperah +KEYCLOAK_LOGOUT_REDIRECT=http://localhost:3000/ + +KEYCLOAK_REALM=rssa_testing +KEYCLOAK_URL=http://127.0.0.1:8080/ +CLIENT_ID=portal-simrs-new diff --git a/.env-example b/.env-example deleted file mode 100644 index fe23b810..00000000 --- a/.env-example +++ /dev/null @@ -1,16 +0,0 @@ -NUXT_MAIN_API_ORIGIN= -NUXT_BPJS_API_ORIGIN= -NUXT_API_VCLAIM_SWAGGER= # https://vclaim-api.multy.chat -NUXT_SYNC_API_ORIGIN= -NUXT_API_ORIGIN= - -SSO_CONFIRM_URL = - -X_AP_CODE=rssa-sso -X_AP_SECRET_KEY=sapiperah -KEYCLOAK_LOGOUT_REDIRECT=http://localhost:3000/ - -# test local -KEYCLOAK_REALM=rssa_testing -KEYCLOAK_URL=http://127.0.0.1:8080/ -CLIENT_ID=portal-simrs-new