From 9d625120a7a732544f8959c1ea78e146d78e6348 Mon Sep 17 00:00:00 2001 From: Munawwirul Jamal Date: Wed, 17 Dec 2025 21:33:03 +0700 Subject: [PATCH] dev: hotfix, env sample --- .env-basic-example | 20 ++++++++++++++++++++ .env-docker-example | 19 +++++++++++++++++++ .env-example | 16 ---------------- 3 files changed, 39 insertions(+), 16 deletions(-) create mode 100644 .env-basic-example create mode 100644 .env-docker-example delete mode 100644 .env-example 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