Skip to content

Commit 1e3b8e5

Browse files
committed
Remove learning locker's IP address setting
1 parent 493c3df commit 1e3b8e5

2 files changed

Lines changed: 6 additions & 21 deletions

File tree

README.adoc

Lines changed: 5 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
:lang: ja
33
:source-highlighter: rouge
44
:author: 国立情報学研究所
5-
:revdate: 2022年1月1日
5+
:revdate: 2022年1月20日
66
:revnumber: 3.0.0版
77
:doctype: book
88
:version-label:
@@ -151,31 +151,16 @@ image::learninglocker/new-xapi-store-client.png[align=center]
151151
const config = {
152152
153153
LRS:{
154-
url:'http://<learning-locker-container-ip-address>:8081/data/xAPI/', // <1>
154+
...
155155
clients:{
156156
// LRS client
157157
'default':{
158-
user:'<xapi-store-client-key>', // <2>
159-
pass:'<xapi-store-client-secret>' // <2>
158+
user:'<xapi-store-client-key>', // <1>
159+
pass:'<xapi-store-client-secret>' // <1>
160160
},
161161
162162
----
163-
<1> `LRS.url` はLearning Lockerのクライアント情報として表示される `xAPI Endpoint` とは異なる
164-
<2> <<learninglocker_client_settings>>で確認したLRSのクライアント情報を設定
165-
166-
なお、 `<learning-locker-container-ip-address>` は以下の方法で確認することができる。
167-
168-
----
169-
$ docker inspect learninglocker
170-
...
171-
"NetworkSettings": {
172-
...
173-
"Networks": {
174-
"moodle-docker_default": {
175-
...
176-
"IPAddress": "xxx.xxx.xxx.xxx",
177-
...
178-
----
163+
<1> <<learninglocker_client_settings>>で確認したLRSのクライアント情報を設定
179164

180165
設定ファイルの変更を `xapi_stmt_gen` コンテナに反映する。
181166

xapi_stmt_gen/xapi_stmt_gen/config/app.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const config = {
2020
}
2121
},
2222
LRS:{
23-
url:'http://172.18.0.9:8081/data/xAPI/',
23+
url:'http://learninglocker:8081/data/xAPI/',
2424
clients:{
2525
// LRS client
2626
'default':{

0 commit comments

Comments
 (0)