Skip to content
This repository was archived by the owner on Jun 30, 2024. It is now read-only.

femiwiki/docker-restbase

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

18 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

Dockerized restbase server Docker Hub Status

ํŽ˜๋ฏธ์œ„ํ‚ค๋ฅผ ์œ„ํ•ด ๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค๋กœ 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.

About

๐Ÿ“ Dockerized RESTBase

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors 3

  •  
  •  
  •