ํ๋ฏธ์ํค๋ฅผ ์ํด ๋ฐ์ดํฐ๋ฒ ์ด์ค๋ก SQLite๋ฅผ ์ฌ์ฉํ๋๋ก ํ๋ ๋ฑ์ ์ค์ ์ด ๋ RESTBase Docker Image.
๋ค์๊ณผ ๊ฐ์ ๋ช ๋ น์ผ๋ก RESTBase๋ฅผ 7231 ํฌํธ๋ก ์ด ์ ์์ต๋๋ค.
docker run -p 7231:7231 [-e MEDIAWIKI_APIS_URI=...] [-e MEDIAWIKI_APIS_DOMAIN=...] [-e PARSOID_URI=...] femiwiki/restbase์ดํ http://localhost:7231์ ์ ์ํ์ฌ ์๋์ ํ์ธํด ์ฃผ์ธ์.
| ์ด๋ฆ | ๊ธฐ๋ณธ๊ฐ | ์ค๋ช |
|---|---|---|
| MEDIAWIKI_APIS_URI | http://http/api.php | ์ํค์ API path. (๋์ปค ์ปจํ ์ด๋ ์์์ ์ ๊ทผํ ์ ์์ด์ผ ํจ) |
| MEDIAWIKI_APIS_DOMAIN | femiwiki.com | ์ํค์ LocalSettings.php์์ ์ ์ํ $wgVirtualRestConfig['modules']['restbase']['domain']๊ณผ ๋์ผํ ๊ฐ (์์ธํ ์ค๋ช
) |
| PARSOID_URI | http://parsoid:8000 | Parsoid์ URI. (๋์ปค ์ปจํ ์ด๋ ์์์ ์ ๊ทผํ ์ ์์ด์ผ ํจ) |
docker build --tag femiwiki/restbase . docker push femiwiki/restbaseย
The source code of femiwiki/restbase is primarily distributed under the terms of the GNU Affero General Public License v3.0 or any later version. See COPYRIGHT for details.