Last active
August 31, 2022 02:50
-
-
Save jasonsturges/9ddf1c7128c88d6535cf2f44dda6c3c4 to your computer and use it in GitHub Desktop.
Wiki.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ docker-compose up | |
Creating network "docker_default" with the default driver | |
Creating docker_wikidb_1 ... done | |
Creating docker_wikijs_1 ... done | |
Attaching to docker_wikidb_1, docker_wikijs_1 | |
wikidb_1 | 2018-06-22T04:28:15.063+0000 I CONTROL [initandlisten] MongoDB starting : pid=1 port=27017 dbpath=/data/db 64-bit host=468ee589b69d | |
wikidb_1 | 2018-06-22T04:28:15.063+0000 I CONTROL [initandlisten] db version v3.6.5 | |
wikidb_1 | 2018-06-22T04:28:15.063+0000 I CONTROL [initandlisten] git version: a20ecd3e3a174162052ff99913bc2ca9a839d618 | |
wikidb_1 | 2018-06-22T04:28:15.064+0000 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1t 3 May 2016 | |
wikidb_1 | 2018-06-22T04:28:15.064+0000 I CONTROL [initandlisten] allocator: tcmalloc | |
wikidb_1 | 2018-06-22T04:28:15.064+0000 I CONTROL [initandlisten] modules: none | |
wikidb_1 | 2018-06-22T04:28:15.064+0000 I CONTROL [initandlisten] build environment: | |
wikidb_1 | 2018-06-22T04:28:15.064+0000 I CONTROL [initandlisten] distmod: debian81 | |
wikidb_1 | 2018-06-22T04:28:15.064+0000 I CONTROL [initandlisten] distarch: x86_64 | |
wikidb_1 | 2018-06-22T04:28:15.064+0000 I CONTROL [initandlisten] target_arch: x86_64 | |
wikidb_1 | 2018-06-22T04:28:15.064+0000 I CONTROL [initandlisten] options: { net: { bindIp: "wikidb" }, storage: { mmapv1: { smallFiles: true } } } | |
wikidb_1 | 2018-06-22T04:28:15.069+0000 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=487M,session_max=20000,eviction=(threads_min=4,threads_max=4),config_base=false,statistics=(fast),cache_cursors=false,log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),statistics_log=(wait=0),verbose=(recovery_progress), | |
wikidb_1 | 2018-06-22T04:28:16.008+0000 I STORAGE [initandlisten] WiredTiger message [1529641696:8850][1:0x7f015e4c9a00], txn-recover: Set global recovery timestamp: 0 | |
wikidb_1 | 2018-06-22T04:28:16.037+0000 W STORAGE [initandlisten] Detected configuration for non-active storage engine mmapv1 when current storage engine is wiredTiger | |
wikidb_1 | 2018-06-22T04:28:16.037+0000 I CONTROL [initandlisten] | |
wikidb_1 | 2018-06-22T04:28:16.037+0000 I CONTROL [initandlisten] ** WARNING: Access control is not enabled for the database. | |
wikidb_1 | 2018-06-22T04:28:16.037+0000 I CONTROL [initandlisten] ** Read and write access to data and configuration is unrestricted. | |
wikidb_1 | 2018-06-22T04:28:16.037+0000 I CONTROL [initandlisten] | |
wikidb_1 | 2018-06-22T04:28:16.039+0000 I STORAGE [initandlisten] createCollection: admin.system.version with provided UUID: c2b08c8b-c533-4afb-b606-ebf5943785ae | |
wikidb_1 | 2018-06-22T04:28:16.051+0000 I COMMAND [initandlisten] setting featureCompatibilityVersion to 3.6 | |
wikidb_1 | 2018-06-22T04:28:16.058+0000 I STORAGE [initandlisten] createCollection: local.startup_log with generated UUID: 8823a309-f68f-4d12-a790-e64dcebdef57 | |
wikidb_1 | 2018-06-22T04:28:16.333+0000 I FTDC [initandlisten] Initializing full-time diagnostic data capture with directory '/data/db/diagnostic.data' | |
wikidb_1 | 2018-06-22T04:28:16.333+0000 I NETWORK [initandlisten] waiting for connections on port 27017 | |
wikijs_1 | 2018-06-22 04:28:18,284 CRIT Supervisor running as root (no user in config file) | |
wikijs_1 | 2018-06-22 04:28:18,294 INFO RPC interface 'supervisor' initialized | |
wikijs_1 | 2018-06-22 04:28:18,294 CRIT Server 'unix_http_server' running without any HTTP authentication checking | |
wikijs_1 | 2018-06-22 04:28:18,295 INFO supervisord started with pid 1 | |
wikijs_1 | 2018-06-22 04:28:19,310 INFO spawned: 'wikijs' with pid 9 | |
wikijs_1 | 2018-06-22 04:28:20,954 INFO success: wikijs entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) | |
wikidb_1 | 2018-06-22T04:28:21.166+0000 I NETWORK [listener] connection accepted from 172.19.0.3:50954 #1 (1 connection now open) | |
wikidb_1 | 2018-06-22T04:28:21.207+0000 I NETWORK [conn1] received client metadata from 172.19.0.3:50954 conn1: { driver: { name: "nodejs", version: "2.2.31" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "4.9.87-linuxkit-aufs" }, platform: "Node.js v8.9.4, LE, mongodb-core: 2.1.15" } | |
wikidb_1 | 2018-06-22T04:28:21.247+0000 I NETWORK [listener] connection accepted from 172.19.0.3:50956 #2 (2 connections now open) | |
wikidb_1 | 2018-06-22T04:28:21.263+0000 I NETWORK [listener] connection accepted from 172.19.0.3:50958 #3 (3 connections now open) | |
wikidb_1 | 2018-06-22T04:28:21.267+0000 I NETWORK [listener] connection accepted from 172.19.0.3:50960 #4 (4 connections now open) | |
wikidb_1 | 2018-06-22T04:28:21.276+0000 I STORAGE [conn1] createCollection: wiki.settings with generated UUID: d7ea4fe5-e124-4cd0-8e7c-963b9cb5129a | |
wikidb_1 | 2018-06-22T04:28:21.293+0000 I NETWORK [listener] connection accepted from 172.19.0.3:50962 #5 (5 connections now open) | |
wikidb_1 | 2018-06-22T04:28:21.294+0000 I INDEX [conn1] build index on: wiki.settings properties: { v: 2, key: { key: 1 }, name: "key_1", ns: "wiki.settings", background: true } | |
wikidb_1 | 2018-06-22T04:28:21.294+0000 I STORAGE [conn2] createCollection: wiki.uplfolders with generated UUID: c5c20e3d-c28e-4ec4-8df1-b3e7ae264277 | |
wikidb_1 | 2018-06-22T04:28:21.315+0000 I INDEX [conn2] build index on: wiki.uplfolders properties: { v: 2, key: { name: 1 }, name: "name_1", ns: "wiki.uplfolders", background: true } | |
wikidb_1 | 2018-06-22T04:28:21.315+0000 I INDEX [conn1] build index done. scanned 0 total records. 0 secs | |
wikidb_1 | 2018-06-22T04:28:21.316+0000 I STORAGE [conn3] createCollection: wiki.sessions with generated UUID: a0a31e27-4068-439e-9706-675990015880 | |
wikidb_1 | 2018-06-22T04:28:21.334+0000 I INDEX [conn3] build index on: wiki.sessions properties: { v: 2, key: { expires: 1 }, name: "expires_1", ns: "wiki.sessions", expireAfterSeconds: 0 } | |
wikidb_1 | 2018-06-22T04:28:21.334+0000 I INDEX [conn3] building index using bulk method; build may temporarily use up to 500 megabytes of RAM | |
wikidb_1 | 2018-06-22T04:28:21.337+0000 I INDEX [conn3] build index done. scanned 0 total records. 0 secs | |
wikidb_1 | 2018-06-22T04:28:21.338+0000 I STORAGE [conn4] createCollection: wiki.users with generated UUID: 3cb1bdaa-7736-4a8a-93c3-0f4b56ee77b6 | |
wikidb_1 | 2018-06-22T04:28:21.358+0000 I INDEX [conn4] build index on: wiki.users properties: { v: 2, key: { email: 1 }, name: "email_1", ns: "wiki.users", background: true } | |
wikidb_1 | 2018-06-22T04:28:21.359+0000 I INDEX [conn2] build index done. scanned 0 total records. 0 secs | |
wikidb_1 | 2018-06-22T04:28:21.359+0000 I INDEX [conn4] build index done. scanned 0 total records. 0 secs | |
wikidb_1 | 2018-06-22T04:28:22.724+0000 I NETWORK [listener] connection accepted from 172.19.0.3:50964 #6 (6 connections now open) | |
wikidb_1 | 2018-06-22T04:28:22.818+0000 I NETWORK [conn6] received client metadata from 172.19.0.3:50964 conn6: { driver: { name: "nodejs", version: "2.2.31" }, os: { type: "Linux", name: "linux", architecture: "x64", version: "4.9.87-linuxkit-aufs" }, platform: "Node.js v8.9.4, LE, mongodb-core: 2.1.15" } | |
wikidb_1 | 2018-06-22T04:28:22.845+0000 I NETWORK [listener] connection accepted from 172.19.0.3:50966 #7 (7 connections now open) | |
wikidb_1 | 2018-06-22T04:28:22.859+0000 I NETWORK [listener] connection accepted from 172.19.0.3:50968 #8 (8 connections now open) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
wikidb: | |
image: mongo | |
expose: | |
- '27017' | |
command: '--smallfiles --bind_ip wikidb' | |
environment: | |
- 'MONGO_LOG_DIR=/dev/null' | |
volumes: | |
- ./data/mongo:/data/db | |
wikijs: | |
image: 'requarks/wiki:latest' | |
links: | |
- wikidb | |
depends_on: | |
- wikidb | |
ports: | |
- '80:80' | |
environment: | |
WIKI_ADMIN_EMAIL: [email protected] | |
volumes: | |
- ./wiki-config.yml:/var/wiki/config.yml | |
- ./id_rsa:/etc/wiki/keys/id_rsa | |
- ./logs:/logs |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2018-06-22 03:49:29,508 CRIT Supervisor running as root (no user in config file) | |
2018-06-22 03:49:29,519 INFO RPC interface 'supervisor' initialized | |
2018-06-22 03:49:29,520 CRIT Server 'unix_http_server' running without any HTTP authentication checking | |
2018-06-22 03:49:29,520 INFO supervisord started with pid 1 | |
2018-06-22 03:49:30,529 INFO spawned: 'wikijs' with pid 9 | |
2018-06-22 03:49:32,185 INFO success: wikijs entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) | |
2018-06-22 03:50:05,809 WARN received SIGTERM indicating exit request | |
2018-06-22 03:50:05,810 INFO waiting for wikijs to die | |
2018-06-22 03:50:06,236 INFO stopped: wikijs (exit status 0) | |
2018-06-22 03:50:26,046 CRIT Supervisor running as root (no user in config file) | |
2018-06-22 03:50:26,059 INFO RPC interface 'supervisor' initialized | |
2018-06-22 03:50:26,060 CRIT Server 'unix_http_server' running without any HTTP authentication checking | |
2018-06-22 03:50:26,060 INFO supervisord started with pid 1 | |
2018-06-22 03:50:27,066 INFO spawned: 'wikijs' with pid 9 | |
2018-06-22 03:50:28,170 INFO success: wikijs entered RUNNING state, process has stayed up for > than 1 seconds (startsecs) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
####################################################################### | |
# Wiki.js - CONFIGURATION # | |
####################################################################### | |
# Full explanation + examples in the documentation: | |
# https://docs.requarks.io/wiki/install | |
# You can use an ENV variable by using $(ENV_VAR_NAME) as the value | |
# --------------------------------------------------------------------- | |
# Title of this site | |
# --------------------------------------------------------------------- | |
title: Wiki | |
# --------------------------------------------------------------------- | |
# Full public path to the site, without the trailing slash | |
# --------------------------------------------------------------------- | |
# INCLUDE CLIENT PORT IF NOT 80/443! | |
host: http://localhost | |
# --------------------------------------------------------------------- | |
# Port the main server should listen to (80 by default) | |
# --------------------------------------------------------------------- | |
# To use process.env.PORT, comment the line below: | |
port: 80 | |
# --------------------------------------------------------------------- | |
# Data Directories | |
# --------------------------------------------------------------------- | |
paths: | |
repo: ./repo | |
data: ./data | |
# --------------------------------------------------------------------- | |
# Upload Limits | |
# --------------------------------------------------------------------- | |
# In megabytes (MB) | |
uploads: | |
maxImageFileSize: 3 | |
maxOtherFileSize: 100 | |
# --------------------------------------------------------------------- | |
# Site Language | |
# --------------------------------------------------------------------- | |
# Possible values: en, de, es, fa, fr, ja, ko, nl, pt, ru, sr, sv, tr or zh | |
lang: en | |
# Enable for right to left languages (e.g. arabic): | |
langRtl: false | |
# --------------------------------------------------------------------- | |
# Site Authentication | |
# --------------------------------------------------------------------- | |
public: false | |
auth: | |
defaultReadAccess: false | |
local: | |
enabled: true | |
google: | |
enabled: false | |
clientId: GOOGLE_CLIENT_ID | |
clientSecret: GOOGLE_CLIENT_SECRET | |
microsoft: | |
enabled: false | |
clientId: MS_APP_ID | |
clientSecret: MS_APP_SECRET | |
facebook: | |
enabled: false | |
clientId: FACEBOOK_APP_ID | |
clientSecret: FACEBOOK_APP_SECRET | |
github: | |
enabled: false | |
clientId: GITHUB_CLIENT_ID | |
clientSecret: GITHUB_CLIENT_SECRET | |
slack: | |
enabled: false | |
clientId: 'SLACK_CLIENT_ID' | |
clientSecret: 'SLACK_CLIENT_SECRET' | |
ldap: | |
enabled: false | |
url: ldap://serverhost:389 | |
bindDn: cn='root' | |
bindCredentials: BIND_PASSWORD | |
searchBase: o=users,o=example.com | |
searchFilter: (uid={{username}}) | |
tlsEnabled: false | |
tlsCertPath: C:\example\root_ca_cert.crt | |
azure: | |
enabled: false | |
clientId: APP_ID | |
clientSecret: APP_SECRET_KEY | |
resource: '00000002-0000-0000-c000-000000000000' | |
tenant: 'YOUR_TENANT.onmicrosoft.com' | |
oauth2: | |
enabled: false | |
clientId: OAUTH2_CLIENT_ID | |
clientSecret: OAUTH2_CLIENT_SECRET | |
authorizationURL: OAUTH2_AUTH_URL | |
tokenURL: OAUTH2_TOKEN_URL | |
# --------------------------------------------------------------------- | |
# Secret key to use when encrypting sessions | |
# --------------------------------------------------------------------- | |
# Use a long and unique random string (256-bit keys are perfect!) | |
sessionSecret: 1234567890abcdefghijklmnopqrstuvxyz | |
# --------------------------------------------------------------------- | |
# Database Connection String | |
# --------------------------------------------------------------------- | |
db: mongodb://wikidb:27017/wiki | |
# --------------------------------------------------------------------- | |
# Git Connection Info | |
# --------------------------------------------------------------------- | |
git: | |
url: [email protected]:jasonsturges/wiki.jasonsturges.com.git | |
branch: master | |
auth: | |
type: ssh | |
privateKey: /etc/wiki/keys/id_rsa | |
sslVerify: true | |
signature: | |
name: Jason Sturges | |
email: [email protected] | |
# Default email to use as commit author | |
serverEmail: [email protected] | |
# Whether to use user email as author in commits | |
showUserEmail: true | |
# --------------------------------------------------------------------- | |
# Features | |
# --------------------------------------------------------------------- | |
# You can enable / disable specific features below | |
features: | |
linebreaks: true | |
mathjax: true | |
# --------------------------------------------------------------------- | |
# External Logging | |
# --------------------------------------------------------------------- | |
externalLogging: | |
bugsnag: false | |
loggly: false | |
papertrail: false | |
rollbar: false | |
sentry: false | |
# --------------------------------------------------------------------- | |
# Color Theme | |
# --------------------------------------------------------------------- | |
theme: | |
primary: indigo | |
alt: blue-grey | |
viewSource: all # all | write | false | |
footer: blue-grey | |
code: | |
dark: true | |
colorize: true | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(empty file) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2018-06-22T03:49:30.725Z - [32minfo[39m: [SERVER] Wiki.js is initializing... | |
2018-06-22T03:49:30.873Z - [32minfo[39m: [SERVER] Checking data directories... | |
2018-06-22T03:49:30.874Z - [32minfo[39m: [SERVER] Data and Repository directories are OK. | |
2018-06-22T03:49:31.182Z - [32minfo[39m: [SERVER] Checking Git repository... | |
2018-06-22T03:49:32.398Z - [32minfo[39m: [SERVER] Starting HTTP/WS server on port 80... | |
2018-06-22T03:49:32.436Z - [32minfo[39m: [SERVER] HTTP/WS server started successfully! [RUNNING] | |
2018-06-22T03:49:32.518Z - [32minfo[39m: [SERVER] Search index flushed and ready. | |
2018-06-22T03:49:32.621Z - [32minfo[39m: [SERVER] Git repository is OK. | |
2018-06-22T03:49:32.669Z - [32minfo[39m: [AGENT] Background Agent is initializing... | |
2018-06-22T03:49:33.436Z - [32minfo[39m: [AGENT] Checking Git repository... | |
2018-06-22T03:49:34.247Z - [32minfo[39m: [AGENT] Running all jobs... | |
2018-06-22T03:49:34.247Z - [32minfo[39m: [AGENT] Performing pull from remote Git repository... | |
2018-06-22T03:49:34.275Z - [32minfo[39m: [AGENT] Git repository is OK. | |
2018-06-22T03:49:38.467Z - [32minfo[39m: [AGENT] Git Pull completed. | |
2018-06-22T03:49:38.475Z - [32minfo[39m: [AGENT] Git Push skipped. Repository is already in sync. | |
2018-06-22T03:49:38.479Z - [32minfo[39m: [AGENT] All jobs completed successfully! Going to sleep for now. | |
2018-06-22T03:50:00.508Z - [32minfo[39m: [AGENT] Running all jobs... | |
2018-06-22T03:50:00.509Z - [32minfo[39m: [AGENT] Performing pull from remote Git repository... | |
2018-06-22T03:50:02.925Z - [32minfo[39m: [AGENT] Git Pull completed. | |
2018-06-22T03:50:02.931Z - [32minfo[39m: [AGENT] Git Push skipped. Repository is already in sync. | |
2018-06-22T03:50:02.933Z - [32minfo[39m: [AGENT] All jobs completed successfully! Going to sleep for now. | |
2018-06-22T03:50:05.811Z - [32minfo[39m: [SERVER] - SHUTTING DOWN - Terminating Background Agent... | |
2018-06-22T03:50:05.812Z - [32minfo[39m: [SERVER] - SHUTTING DOWN - Performing git sync... | |
2018-06-22T03:50:05.812Z - [32minfo[39m: [SERVER] Performing pull from remote Git repository... | |
2018-06-22T03:50:06.215Z - [32minfo[39m: [SERVER] Git Pull completed. | |
2018-06-22T03:50:06.222Z - [32minfo[39m: [SERVER] Git Push skipped. Repository is already in sync. | |
2018-06-22T03:50:06.222Z - [32minfo[39m: [SERVER] - SHUTTING DOWN - Git sync successful. Now safe to exit. | |
2018-06-22T03:50:27.300Z - [32minfo[39m: [SERVER] Wiki.js is initializing... | |
2018-06-22T03:50:27.485Z - [32minfo[39m: [SERVER] Checking data directories... | |
2018-06-22T03:50:27.486Z - [32minfo[39m: [SERVER] Data and Repository directories are OK. | |
2018-06-22T03:50:27.853Z - [32minfo[39m: [SERVER] Checking Git repository... | |
2018-06-22T03:50:29.166Z - [32minfo[39m: [SERVER] Starting HTTP/WS server on port 80... | |
2018-06-22T03:50:29.194Z - [32minfo[39m: [SERVER] HTTP/WS server started successfully! [RUNNING] | |
2018-06-22T03:50:29.267Z - [32minfo[39m: [SERVER] Search index flushed and ready. | |
2018-06-22T03:50:29.351Z - [32minfo[39m: [SERVER] Git repository is OK. | |
2018-06-22T03:50:29.398Z - [32minfo[39m: [AGENT] Background Agent is initializing... | |
2018-06-22T03:50:30.130Z - [32minfo[39m: [AGENT] Checking Git repository... | |
2018-06-22T03:50:30.934Z - [32minfo[39m: [AGENT] Running all jobs... | |
2018-06-22T03:50:30.935Z - [32minfo[39m: [AGENT] Performing pull from remote Git repository... | |
2018-06-22T03:50:30.967Z - [32minfo[39m: [AGENT] Git repository is OK. | |
2018-06-22T03:50:31.719Z - [32minfo[39m: [AGENT] Git Pull completed. | |
2018-06-22T03:50:31.725Z - [32minfo[39m: [AGENT] Git Push skipped. Repository is already in sync. | |
2018-06-22T03:50:31.729Z - [32minfo[39m: [AGENT] All jobs completed successfully! Going to sleep for now. | |
2018-06-22T03:55:00.769Z - [32minfo[39m: [AGENT] Running all jobs... | |
2018-06-22T03:55:00.769Z - [32minfo[39m: [AGENT] Performing pull from remote Git repository... | |
2018-06-22T03:55:01.117Z - [32minfo[39m: [AGENT] Git Pull completed. | |
2018-06-22T03:55:01.122Z - [32minfo[39m: [AGENT] Git Push skipped. Repository is already in sync. | |
2018-06-22T03:55:01.124Z - [32minfo[39m: [AGENT] All jobs completed successfully! Going to sleep for now. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment