dev: refactoring + lokalise fetch + process
This commit is contained in:
12
dev/docker/Dockerfile
Normal file
12
dev/docker/Dockerfile
Normal file
@@ -0,0 +1,12 @@
|
||||
FROM requarks/wiki:latest
|
||||
|
||||
# Replace with your email address:
|
||||
ENV WIKI_ADMIN_EMAIL admin@example.com
|
||||
|
||||
WORKDIR /var/wiki
|
||||
|
||||
# Replace your-config.yml with the path to your config file:
|
||||
ADD your-config.yml config.yml
|
||||
|
||||
EXPOSE 3000
|
||||
ENTRYPOINT [ "node", "server" ]
|
19
dev/docker/docker-compose.yml
Normal file
19
dev/docker/docker-compose.yml
Normal file
@@ -0,0 +1,19 @@
|
||||
version: '3'
|
||||
services:
|
||||
wikidb:
|
||||
image: mongo
|
||||
expose:
|
||||
- '27017'
|
||||
command: '--smallfiles --logpath=/dev/null'
|
||||
volumes:
|
||||
- ./data/mongo:/data/db
|
||||
wikijs:
|
||||
image: 'requarks/wiki:latest'
|
||||
links:
|
||||
- wikidb
|
||||
ports:
|
||||
- '80:3000'
|
||||
environment:
|
||||
WIKI_ADMIN_EMAIL: admin@example.com
|
||||
volumes:
|
||||
- ./config.yml:/var/wiki/config.yml
|
Reference in New Issue
Block a user