implement Phase 1-2
This commit is contained in:
parent
41573b3c4f
commit
b976cf3124
23 changed files with 1291 additions and 79 deletions
23
.env.example
Normal file
23
.env.example
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# ------------------------------------------------------------------
|
||||
# Local dev infra (docker-compose.yml) — template เท่านั้น
|
||||
# คัดลอกเป็น `.env` แล้วเปลี่ยนค่าก่อนใช้: cp .env.example .env
|
||||
# ค่าในไฟล์นี้เป็นค่า dev ที่ใช้เฉพาะเครื่อง local — ห้ามเอาไปใช้ production
|
||||
# ------------------------------------------------------------------
|
||||
|
||||
# --- PostgreSQL (service: db) ---
|
||||
POSTGRES_USER=wordversioning
|
||||
POSTGRES_PASSWORD=dev-local-pass
|
||||
POSTGRES_DB=wordversioning
|
||||
|
||||
# --- MinIO (service: minio) ---
|
||||
# password ต้องยาว >= 8 ตัวอักษร
|
||||
MINIO_ROOT_USER=wordversioning-minio
|
||||
MINIO_ROOT_PASSWORD=dev-local-pass
|
||||
|
||||
# --- Keycloak bootstrap admin (service: keycloak) ---
|
||||
# ใช้ล็อกอิน admin console ครั้งแรกที่ http://localhost:8080/admin/
|
||||
KC_BOOTSTRAP_ADMIN_USERNAME=admin
|
||||
KC_BOOTSTRAP_ADMIN_PASSWORD=dev-local-pass
|
||||
|
||||
# --- Keycloak test user (define ใน keycloak/realm-export.json ฝั่ง realm) ---
|
||||
# username: testuser / password: Test1234! (แก้ที่ realm-export.json แล้ว re-import)
|
||||
Loading…
Add table
Add a link
Reference in a new issue