Skip to content

Commit

Permalink
Merge pull request #500 from traPtitech/fix/issue499
Browse files Browse the repository at this point in the history
ローカル環境でのtraQのOAuthの認証がうまく行かない問題
  • Loading branch information
Luftalian committed Dec 3, 2023
2 parents b09a2d7 + c8e5d26 commit aa368e8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
docker compose up --build
```

`http://localhost:6006`に knoQ が起動します。
`http://localhost:3000`に knoQ が起動します。
`http://localhost:8000`に phpmyadmin が起動します。

現在、ログインできるのは traP ユーザーのみです。
Expand All @@ -34,7 +34,7 @@ knoQ の全ての機能を動作させるためには、追加の情報が必要
|---------------------|------|----------------------------------------|------------------------------------------------|
| SESSION_KEY | 環境変数 | `random32wordsXXXXXXXXXXXXXXXXXXX` | session を暗号化するもの |
| TRAQ_CALENDARID | 環境変数 | | 進捗部屋の提供元(公開されている google calendar の id なら何でもいい) |
| CLIENT_ID | 環境変数 | `aYj6mwyLcpBIrxZZD8jkCzH3Gsdqc9DJqle2` | 認証に必要 |
| CLIENT_ID | 環境変数 | `d1hDlIRNfCBerXdZkH1VR8lJwCBpIuMgiv42` | 認証に必要 |
| WEBHOOK_ID | 環境変数 | | Bot 情報 |
| WEBHOOK_SECRET | 環境変数 | | Bot 情報 |
| CHANNEL_ID | 環境変数 | | Bot の送信先チャンネル (deprecated) |
Expand Down
4 changes: 2 additions & 2 deletions compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,10 +12,10 @@ services:
MARIADB_PASSWORD: password
MARIADB_HOSTNAME: db
MARIADB_DATABASE: knoQ
ORIGIN: http://localhost:6006
ORIGIN: http://localhost:3000
SESSION_KEY: ${SESSION_KEY:-random32wordsXXXXXXXXXXXXXXXXXXX}
TRAQ_CALENDARID: ${TRAQ_CALENDARID}
CLIENT_ID: ${CLIENT_ID:-aYj6mwyLcpBIrxZZD8jkCzH3Gsdqc9DJqle2}
CLIENT_ID: ${CLIENT_ID:-d1hDlIRNfCBerXdZkH1VR8lJwCBpIuMgiv42}
WEBHOOK_ID: ${WEBHOOK_ID}
WEBHOOK_SECRET: ${WEBHOOK_SECRET}
CHANNEL_ID: ${CHANNEL_ID}
Expand Down
2 changes: 1 addition & 1 deletion docs/development.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ docker compose up
を実行すると以下の環境が起動します

- knoQアプリ (フロントエンドを含みます)
- <http://localhost:6006>
- <http://localhost:3000>
- DB(MariaDB)
- DB接続クライアント(PHPMyAdmin)
- <http://localhost:8000>
Expand Down

0 comments on commit aa368e8

Please sign in to comment.