diff --git a/README.md b/README.md index f1b98da8..5f87c4e1 100644 --- a/README.md +++ b/README.md @@ -71,10 +71,6 @@ cp ./apps/client/.env.example ./apps/client/.env ### 3. Restore Data Of Logto -> The data in "logto_db_init_data. zip" is outdated and will be updated soon -> He does not support versions after Logto@1.14. -> Please manually configure Logto - Uncompress `logto_db_init_data.zip` to `.volumes/` ```bash @@ -83,7 +79,7 @@ unzip logto_db_init_data.zip -d .volumes/ - Admin URL: http://localhost:3011 - Username: admin -- Password: wYJha:-eYMrAe9i +- Password: WkN7g5-i8ZrJckX > if you want to [Manual Configuration Logto](https://github.com/cuixueshe/earthworm/wiki/%E8%BF%81%E7%A7%BB-Logto-%E7%94%A8%E6%88%B7%E7%B3%BB%E7%BB%9F%E5%90%8E%E6%9C%AC%E5%9C%B0%E5%90%AF%E5%8A%A8%E9%85%8D%E7%BD%AE%E6%96%B9%E6%A1%88%EF%BC%88%E8%B4%A1%E7%8C%AE%E8%80%85%EF%BC%89) diff --git a/README.zh-CN.md b/README.zh-CN.md index aaddf09f..44813a73 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -71,10 +71,6 @@ cp ./apps/client/.env.example ./apps/client/.env ### 3. 恢复 Logto 的数据 -> "logto_db_init_data.zip" 中的数据已过时,将很快更新 -> 不支持 Logto@1.14 之后的版本 -> 请手动配置 Logto - 解压缩 `logto_db_init_data.zip` 到 `.volumes/` ```bash @@ -83,7 +79,7 @@ unzip logto_db_init_data.zip -d .volumes/ - 后台地址: http://localhost:3011 - 用户名: admin -- 密码: wYJha:-eYMrAe9i +- 密码: WkN7g5-i8ZrJckX > 如果你想 [手动配置 Logto](https://github.com/cuixueshe/earthworm/wiki/%E8%BF%81%E7%A7%BB-Logto-%E7%94%A8%E6%88%B7%E7%B3%BB%E7%BB%9F%E5%90%8E%E6%9C%AC%E5%9C%B0%E5%90%AF%E5%8A%A8%E9%85%8D%E7%BD%AE%E6%96%B9%E6%A1%88%EF%BC%88%E8%B4%A1%E7%8C%AE%E8%80%85%EF%BC%89) diff --git a/apps/api/.env.example b/apps/api/.env.example index f7029f2e..7e6fb9e8 100644 --- a/apps/api/.env.example +++ b/apps/api/.env.example @@ -1,8 +1,8 @@ DATABASE_URL="postgres://postgres:password@localhost:5433/earthworm" SECRET="sjldk92#sd903mnc./xklsjdf9sdfj" REDIS_URL="redis://127.0.0.1:6379" -LOGTO_CLIENT_ID="ycgwrj3ohzkrmqkstsqjs" -LOGTO_CLIENT_SECRET="99dWl1L5vJeidwBXxTsjsDXb3kOf2jQX" +LOGTO_CLIENT_ID="aq0f6indu0vn2mvomtfrb" +LOGTO_CLIENT_SECRET="8GwCl4UQKB7oYtEmalNafrbJlC348quo" LOGTO_M2M_API="https://default.logto.app/api" LOGTO_ENDPOINT="http://localhost:3010/" BACKEND_ENDPOINT="http://localhost:3001/" diff --git a/apps/client/.env.example b/apps/client/.env.example index 0e45e1c6..3c7bbddd 100644 --- a/apps/client/.env.example +++ b/apps/client/.env.example @@ -1,4 +1,4 @@ -LOGTO_APP_ID="qzif1teh62ezzf08pmeqn" +LOGTO_APP_ID="b4vtjjefuw6hh330518kp" LOGTO_ENDPOINT="http://localhost:3010/" BACKEND_ENDPOINT="http://localhost:3001/" LOGTO_SIGN_IN_REDIRECT_URI="http://localhost:3000/callback" diff --git a/docker-compose.yml b/docker-compose.yml index 4b6f1ed6..5ff7ac50 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -47,7 +47,7 @@ services: depends_on: logtoPostgres: condition: service_healthy - image: svhd/logto:${TAG-latest} + image: svhd/logto:1.18.0 entrypoint: ["sh", "-c", "npm run cli db seed -- --swe && npm start"] ports: - 3010:3010 diff --git a/logto_db_init_data.zip b/logto_db_init_data.zip index 90332693..f32ee682 100644 Binary files a/logto_db_init_data.zip and b/logto_db_init_data.zip differ