implement phase 5 และ fix bugs
This commit is contained in:
parent
f4b1c3e14b
commit
1bb850c6b8
40 changed files with 1507 additions and 429 deletions
|
|
@ -77,10 +77,16 @@ services:
|
|||
environment:
|
||||
KC_BOOTSTRAP_ADMIN_USERNAME: ${KC_BOOTSTRAP_ADMIN_USERNAME}
|
||||
KC_BOOTSTRAP_ADMIN_PASSWORD: ${KC_BOOTSTRAP_ADMIN_PASSWORD}
|
||||
# HTTPS ด้วย cert ของ office-addin-dev-certs (CA ถูก trust ใน keychain แล้ว)
|
||||
# จำเป็นเพราะ Office Dialog API บังคับ HTTPS สำหรับหน้า login — http:// โดนปฏิเสธ
|
||||
KC_HTTPS_CERTIFICATE_FILE: /certs/localhost.crt
|
||||
KC_HTTPS_CERTIFICATE_KEY_FILE: /certs/localhost.key
|
||||
ports:
|
||||
- "8080:8080" # admin console + OIDC endpoints
|
||||
- "8443:8443" # OIDC endpoints + admin console (HTTPS — ใช้ตัวนี้)
|
||||
# 8080 (http) เปิดไว้เฉพาะใน network ของ compose ให้ service `api` (profile) ใช้ภายใน
|
||||
volumes:
|
||||
- ./keycloak/realm-export.json:/opt/keycloak/data/import/realm-export.json:ro
|
||||
- ${HOME}/.office-addin-dev-certs:/certs:ro
|
||||
|
||||
# --- Backend API (ยังไม่เปิดใช้ — รอ Phase 2 สร้าง Dockerfile) -----
|
||||
# รันฝั่ง host ด้วย `dotnet run` ได้เลย โดยชี้ config ไปที่ localhost:5432 / localhost:9000
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue