0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

Keycloak production環境を 利用する

Posted at

keycloakの起動モードと違い - 開発モード

起動コマンド
bin/kc.[sh|bat] start-dev
説明

● HTTP有効、Port: 8080
● 厳密なホスト名解決が無効になる
● キャッシュが無効

keycloakの起動モードと違い - Productionモード

起動コマンド
bin/kc.[sh|bat] start
説明

● HTTP無効
● HTTPS必須、Port: 8443, 9000
● 厳密なホスト名解決が有効になる

初期管理者を作成

ENV KC_BOOTSTRAP_ADMIN_USERNAME=<username>
ENV KC_BOOTSTRAP_ADMIN_PASSWORD=<password>
ENTRYPOINT [“/opt/keycloak/bin/kc.sh”, “start”]
補足
  • 一時的な管理者アカウントなので、新しい管理者アカウントの作成が必要

DBと接続

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?