mirror of https://github.com/requarks/wiki
parent
a68235190a
commit
cd600b0541
@ -0,0 +1,8 @@
|
||||
FROM node:latest
|
||||
|
||||
RUN mkdir -p /usr/src/app
|
||||
WORKDIR /usr/src/app
|
||||
RUN yarn add wiki.js@latest
|
||||
|
||||
EXPOSE 3000
|
||||
CMD [ "node", "server" ]
|
@ -0,0 +1,15 @@
|
||||
version: '3'
|
||||
services:
|
||||
wikidb:
|
||||
image: mongo
|
||||
ports:
|
||||
- '27017'
|
||||
command: '--smallfiles --logpath=/dev/null'
|
||||
wikijs:
|
||||
image: 'requarks/wiki:master'
|
||||
links:
|
||||
- wikidb
|
||||
ports:
|
||||
- '3000'
|
||||
environment:
|
||||
- PORT: 3000
|
Loading…
Reference in new issue