This commit is contained in:
Dryusdan 2017-08-28 20:34:44 +02:00
parent 513e1439bc
commit cdec85c358
7 changed files with 509 additions and 4 deletions

View File

@ -1,9 +1,11 @@
#!/bin/sh
docker build --no-cache -t registry.dryusdan.fr/dryusdan/etherpad etherpad/
docker push registry.dryusdan.fr/dryusdan/etherpad
docker rmi registry.dryusdan.fr/dryusdan/etherpad
docker build --no-cache -t registry.dryusdan.fr/dryusdan/kresus kresus/
docker push registry.dryusdan.fr/dryusdan/kresus
docker push registry.dryusdan.fr/dryusdan/kresus
docker rmi registry.dryusdan.fr/dryusdan/kresus
docker build --no-cache -t registry.dryusdan.fr/dryusdan/reverse-nginx --build-arg NGINX_CONF="--prefix=/nginx --sbin-path=/usr/local/sbin/nginx --http-log-path=/nginx/log/nginx_access.log --error-log-path=/nginx/log/nginx_error.log --pid-path=/nginx/run/nginx.pid --lock-path=/nginx/run/nginx.lock --user=reverse --group=reverse --with-http_ssl_module --with-http_v2_module --with-http_gzip_static_module --with-http_stub_status_module --with-threads --with-pcre-jit --with-ipv6 --without-http_ssi_module --without-http_scgi_module --without-http_uwsgi_module --without-http_geo_module --without-http_autoindex_module --without-http_split_clients_module --without-http_memcached_module --without-http_empty_gif_module --add-module=/tmp/headers-more-nginx-module --without-http_browser_module" github.com/xataz/docker-reverse-nginx
@ -26,6 +28,14 @@ docker build --no-cache -t registry.dryusdan.fr/dryusdan/presentator presentator
docker push registry.dryusdan.fr/dryusdan/presentator
docker rmi registry.dryusdan.fr/dryusdan/presentator
docker build --no-cache -t registry.dryusdan.fr/dryusdan/presentator presentator/
docker push registry.dryusdan.fr/dryusdan/presentator
docker rmi registry.dryusdan.fr/dryusdan/presentator
docker build --no-cache -t registry.dryusdan.fr/dryusdan/shaarli shaarli/
docker push registry.dryusdan.fr/dryusdan/shaarli
docker rmi registry.dryusdan.fr/dryusdan/shaarli
docker build --no-cache -t registry.dryusdan.fr/dryusdan/standardfile standardfile/
docker push registry.dryusdan.fr/dryusdan/standardfile
docker rmi registry.dryusdan.fr/dryusdan/standardfile
@ -38,6 +48,7 @@ docker build --no-cache -t registry.dryusdan.fr/dryusdan/z2pdf z2pdf/
docker push registry.dryusdan.fr/dryusdan/z2pdf
docker rmi registry.dryusdan.fr/dryusdan/z2pdf
docker build --no-cache -t registry.dryusdan.fr/dryusdan/piwik github.com/Wonderfall/dockerfiles.git#master:piwik
docker push registry.dryusdan.fr/dryusdan/piwik
docker rmi registry.dryusdan.fr/dryusdan/piwik
docker build --no-cache -t registry.dryusdan.fr/dryusdan/cryptpad https://github.com/xwiki-labs/cryptpad.git#1.13.0
docker push registry.dryusdan.fr/dryusdan/cryptpad
docker rmi registry.dryusdan.fr/dryusdan/cryptpad

116
nohup.out Normal file
View File

@ -0,0 +1,116 @@
Deleted Images:
untagged: wonderfall/rtorrent-flood:latest
untagged: wonderfall/rtorrent-flood@sha256:8abc58eac633094a3e528a41ed0834cb8b1591798d7e7da259ff9d5fd59770ed
deleted: sha256:42382d03d1e8fb23c7fd38a9721f2ce6c2b9f853619f6084fcc8d5f9eda7ff22
deleted: sha256:2bb660fd1fb8b2ec739d7a91add65a0bf24f8e40ecd95e0b0ce78e8615b49337
deleted: sha256:b80c13d9c35a5ad755c11dd288117aef33a34e90da86f1b909e66b3cf086a2dd
deleted: sha256:f2f9b0fb196dbf48f3dd0ec42f2397026a5027cac80cb80fcb7050dc43820e00
deleted: sha256:6d4d475711f7ab099e135270e50cdd5ce867390a1277e48ff9e8adb4aa7b7915
deleted: sha256:4b48712b4d8ce4a7ff2767d53dd59707fd29607b2d34cbac5e8e07f8ffc88437
deleted: sha256:f920165142203e27c19beb0ba573f6a3c97f5db6784f4fe0b4abc679200a3e22
deleted: sha256:8fe23a430bbde9d73b805f02b593447b3d95c02e495bd79143ba30846c0c8639
deleted: sha256:d8cc4859ea0f0ee07397d5b8ebc0e8bbd86dd046f4a6cf52a0cc35fd6d599b41
deleted: sha256:9586638e7585cdace5f8b1cc0477767802e44a5e07901f1d610efb39f06fd5f8
untagged: drone/drone:latest
untagged: drone/drone@sha256:91f30b2f771a173d797740fdb1ba56f5f77dc1079fc8a6aac7af182c0b6b6099
deleted: sha256:1b617e7b3ff81f26c89eb1ed198f5067071a6b3fea8526b350b88a1fa12adeb1
deleted: sha256:25bdd60c7fe715e3f22892b7cd67650df03d91e0a55d995d03008bec66ae7ef4
Total reclaimed space: 489.8MB
Deleted Images:
untagged: hardware/postfixadmin:latest
untagged: hardware/postfixadmin@sha256:d034a0cbf5ea112d01910471a3cf0cdf7ec763d57514644f96b404e2bdf1fab3
deleted: sha256:9abf1c123bd8ab8f2a472ac5cddba293af22dc7e131e81f6816a7205c8ce3614
deleted: sha256:bdc1c2a9677d5172f5a7e498630cb0c41a274e0a51f149920e96cd293659eb26
deleted: sha256:b4f1aa16859361a9059bac807c066c0780fd249cc44ea5d18d8099f65e46a932
deleted: sha256:779960b9ba2d06a4df06963e340e0a6aeeffd4174c4ef04bbcc89166ee36b3f6
deleted: sha256:8f53763404ad1f77d207f65e0821cda0e411ba1826e6c3651b0b820fdb162126
deleted: sha256:5abaf3f07ed64236cb8184de5c6419067f4f2a0669625b9ac8d85a8e14902651
deleted: sha256:074135c3d3b3fce7b346b9c7bc7311574ff26e207490ffa68a6a701b44c38dad
deleted: sha256:315888474d910090ecc8b776ee5528d8c3e6641c83579897ec7e7c489bb29eb3
untagged: hardware/rainloop:latest
untagged: hardware/rainloop@sha256:6cda6cff1ea4dc4d78a2118b30fdd4cea051ae428cc5767a5aaf49aea3baa3f7
deleted: sha256:9c23cb626dbd6b8f67a21f7ff62ccb7f2a5c2aeaf2d67acfae4e1fd17b98a35c
deleted: sha256:f69496583159035d80e6db4946876a43c7364b85c5eefbdfa17ad4b253a2dee4
deleted: sha256:96e3ecf5c4bdf672997644b0ba4952a354df2aa344f0940396c18f1368cf7897
deleted: sha256:047d0a0246eea0203782fca0127d21015d4dd81b6fa7c108fd06dab0889897e8
deleted: sha256:e1dce61dabb506a4a5525609a4a8a39c6254c15e2b3e70dce975ef833dee78aa
deleted: sha256:4fb668c9a00b15dd98e378344b43a158e4081338f0c21d191898f9c2457b02c3
deleted: sha256:0fa66db86c38a577c5f9f548b5e17ffc4751d0b4620c0be51e5e0a12c29faa01
untagged: hardware/nsd-dnssec:latest
untagged: hardware/nsd-dnssec@sha256:33aa8f3b0c60477c1ce75e41a775ec16d71e942400a98c37639d734f29b22aed
deleted: sha256:4d6b090fa54457ce1d5036167521d07f43df0ef92c4722cbd3173c8ed01edf63
deleted: sha256:f07c4e0d1b5fd3fb47514620d62db513b46ceae6922e14fffdb09414e39a5cbd
deleted: sha256:b78d843acff59f91d977e876a4921f4116b573cadbf929f31936ed9eaeabc9e2
deleted: sha256:5e79e86b89a5dc6a1ba506465782d7c583a9ad16d5c6a11c19aefe78000000d6
deleted: sha256:39896d118db135364a1c88200a2b7de4c2ce9e5e28a04bad6b81a0ffece1507e
deleted: sha256:07aa4e280fff5f74a3796939676576c6a1901e085f3f79ce4b6c472d8cc6db9e
deleted: sha256:29803bc6818a461494fcf97226ca69f5113880d317535c7f7027125ae7e55aab
untagged: postgres:alpine
untagged: postgres@sha256:5fd73de311d304caeb4f907d4f559d322805abc622e4baf5788c6a079ee5224e
deleted: sha256:e9e9c44705225c94547a659ce26e9b8c244de7aaf777b93c0e28a9012caa3ba0
deleted: sha256:3b1d65826e9957e102045395056a084f0fa8b0956add04664355f0fd152f9b7e
deleted: sha256:7dee6051759f0834528a641b45e62d310f076b248f3840f66b7e497e4759e2f4
deleted: sha256:3db965404d23f5c5ddad75fb6274e703ee4a90a98f94c5452603dcda13c184e1
deleted: sha256:6f34a18482e72be34e90780406312e76c5dc6354679a14a032e5994d0154b1bb
deleted: sha256:98ade54b061cc33aa57bf056894c6dcac00defdd7e2929e428f7c0805cc00b18
deleted: sha256:1c0410bb1c5f7e1aec09167afecc871bda4bf0146588c668a8169a8114ceeda2
untagged: hardware/mailserver:latest
untagged: hardware/mailserver@sha256:5ff8559ba758cd23f44121e64c152edded8a3370f46bff23d946b4209bdb375b
deleted: sha256:834cbdab45d6520efb2d1db679bb65c10e7e5c6c1d66b46082362d1eaa269805
deleted: sha256:4130bf6883bb66aaf48cd93e12c196d3554364b466620f2b28968f9c4bcc4f78
deleted: sha256:d43775652c838f75e954ab22f913289820b65d8782d35e1cb8bf478014c612db
Total reclaimed space: 269.7MB
Deleted Images:
untagged: xataz/emby:latest
untagged: xataz/emby@sha256:15978424b63c8af605fbce592e3738284546e241acb2e5aaa884014e1086fa3c
deleted: sha256:8e669fd2c12ed47e6389d6ff4c125af5ad8c73619f2d31159396f53216b097da
deleted: sha256:55d61a7f5bedddee83ebfc30de3a77b5e3f6053c5ebaa9e1de16258f288f491b
deleted: sha256:059a5526fd8bc9fee9cbbec3d9daaf12330a2477de0a2fa381babbdd6d494550
deleted: sha256:df95f6dd6fcc2bd61ededc6a9a44408defc0e9e495d85b7391c6a2275c40fa45
untagged: wonderfall/nextcloud:11.0
untagged: wonderfall/nextcloud@sha256:f8624ec14fe034a1bdcb9f212a1867624d02edb5d3ae7153c50762c4540db583
deleted: sha256:b28d4e6a32016148d22a16c39fa9df426bfd29d9d51f2a6b9af0e637d7a47ca4
deleted: sha256:b132f9bccb6787e398c6f93dc04d091de9698b59205a7a6faf38f1f2eaaa5caf
deleted: sha256:7da37a5d8f142a3bba80cc5acbfdf3b1402e910f2cc52335d8a0a51a4fec270e
deleted: sha256:a7f167d25e81a1b7d300e23fca0e341a927c30fa2c87d4eaf04768f90676fb63
deleted: sha256:3a7e89b341b8c20cb4d14ad572c8c4dbf6348c740a5ca350dd7035a83d9353e0
deleted: sha256:d1a28d938228e1a0a05e4a93b489c1f7fe20f581322fb0da5c08b1b6e1f05eff
untagged: phpmyadmin/phpmyadmin:edge-4.8
untagged: phpmyadmin/phpmyadmin@sha256:fe30d6ef7bb4f88c9dcd42499e20a3db10b40e0be952102420ffcd5231322f7a
deleted: sha256:4f68c3e519ab1d7baf8eb0b879c1e42b029442ff5b815aa4849b0a42bfa6b2a6
deleted: sha256:0f054fb96a22fb9a6d1997b707d5e059aac363b9f419767cbd23f51689cd005f
deleted: sha256:54202934ff60e78e45c381278f7602ccb392311b0be1a94cef48abffee70e2d1
deleted: sha256:06157d3b1e362a90de218c83f90794c75dc500f50da04ec1c5120351991d139c
deleted: sha256:122dd406abbaf307dd8d6871b50d0003da18066c1c00defa956bb17eca180d26
deleted: sha256:ad4db716be3bd93587d9ce8762a1a6a002d55481ef004b75adc0525617c9fc97
deleted: sha256:655fa6eb02f3b17f96b63fa13015517ef99ad089464926d5d34335edd8d57c2f
deleted: sha256:08ca2cd5b9f9e0913d671b407e28523559398ec9b06bb2ea0ad790034d1c34ec
untagged: wonderfall/privatebin:latest
untagged: wonderfall/privatebin@sha256:3876440ee9cb9a29ee4ce413386efa351c6f15bdd8451ce4e2aa278e94e6458b
deleted: sha256:7764d185b53b879d12f26c8ad5706528f7c97bfc138fc2dbf57b26d138436cc6
deleted: sha256:00c2db7ef9cb20f6e6343a2a5e9b6565bf2b4ee1a9169c5ff28fc57f21b5fc17
deleted: sha256:fe3c6520a1112c060f6539ea2f96a6a24177bb43e392e3d661a486ef8cb6f8db
deleted: sha256:db20c139a34396cab800edd7a453081370dcd452ced3a34108fe9c2d80474658
deleted: sha256:cabec5d0e5cca85478aecc3ac14e1a7eae11fab2440b4386cf08dc49389e2f0e
deleted: sha256:6d0dd68007784871195e5a2ba6eb518eb2c324ede40ce474d9e3ccc9e9f2b6b5
untagged: gitea/gitea:1.1
untagged: gitea/gitea@sha256:2129cecb41e4b81ecf45f7831319ac9e925dda9c1b24c0336395407f87fa32da
deleted: sha256:492614e5ed1296f3d6869cce0b372ac38a21acb10329e2df6fce07afceaba8ce
deleted: sha256:ef6e364b381115732834d2710e10991f418bbc7f0e458ad018a405c1c5c04b60
deleted: sha256:d779cef8e55e530f4c2d07c95c976302e89686b575e3098b3f29315e8d0699c5
deleted: sha256:de04ac95b42ebc69575474b72ac77811049f24de679abc7c1fb5f12b446b014d
untagged: unclev/prosody-docker-extended:0.10
untagged: unclev/prosody-docker-extended@sha256:d0efe4accbdc85f032de20be0d3fa1002f4df5b4293a2c654480ad04c2af1a65
deleted: sha256:8d901508eee3421212f8bf130d650950d05eabd99f13ed26c044d8fbb9a0a259
deleted: sha256:f875aae4576215e037e247fd1992d07759bfbc9b3419d2f168c507b96d726456
deleted: sha256:9b4d19899be503f5c5dba370c9ccfc8a165226c75f8b26146f57d5f253c51e04
deleted: sha256:0e42700d1ea7c7535a3f3647aaebf06956cdf8ddb04a141104d16cbb36a6f4ff
deleted: sha256:59cd2baae6fda8e2404e30a2fdb02716577fe6b3727bd081a37f0a9c78c9642b
deleted: sha256:73824bdd1a0182d57b3096d924dc441ee9b26b5037b5cbf3e0598141f6b323c9
deleted: sha256:ac81febef0fd8e3e2bed70d48a1b0963d7cd025f3bee4b4dc97fe78bf2e6331d
deleted: sha256:6e45a65bd5b6f5dcbd99f20daaae93d7b5860aff2488e5ef13ca8adca1ac5447
Total reclaimed space: 844.7MB
Total reclaimed space: 0B

View File

@ -0,0 +1,20 @@
FROM node:4.8-alpine
MAINTAINER Dryusdan
COPY entrypoint.sh /entrypoint.sh
ENV GID=991 UID=991
RUN chmod +x /entrypoint.sh \
&& apk --no-cache add git su-exec curl \
&& mkdir /etherpad\
&& git clone https://github.com/ether/etherpad-lite.git /etherpad \
&& /etherpad/bin/installDeps.sh \
&& apk del git \
&& cd /etherpad \
&& npm i mongodb ep_mypads \
&& rm -rf /tmp/* /var/cache/apk/* /tmp/* /root/.gnupg /root/.cache/ /etherpad/.git \
&& mkdir /modules && cd /modules && cp -r /etherpad/node_modules/* /modules
COPY settings.json /etherpad/settings.json
EXPOSE 9001
ENTRYPOINT ["/entrypoint.sh"]
CMD ["/etherpad/bin/run.sh"]

View File

@ -0,0 +1,98 @@
# Etherpad container with alpine and MyPads
[![](https://images.microbadger.com/badges/image/dryusdan/etherpad-mypad.svg)](https://microbadger.com/images/dryusdan/etherpad-mypad "Get your own image badge on microbadger.com")
- Image build with Alpine
- Build with MyPads extentions by default
- Etherpad not run as roo
## How this ?
[Etherpad](https://github.com/ether/etherpad-lite) is a doc writter like Google Docs, but it self hosting, and customizable.
With [MyPads](https://framagit.org/framasoft/ep_mypads) extentions to share, read and write doc easier.
## How to get it ?
With docker pull : `docker pull dryusdan/etherpad-mypad`
Or with Docker build : `docker build -t dryusdan/etherpad-mypads https://github.com/Dryusdan/Dockerfiles.git#:etherpad`
## How to run it ?
To run it :
```
docker run \
--name pad \
-v /mnt/docker/pad/var:/etherpad/var:rw \
-v /mnt/docker/pad/node_modules:/etherpad/node_modules \
--restart always -d dryusdan/etherpad-mypad
```
By default, Etherpad launch on port 9000
But for more convenience, I recommend using a reverse proxy with this conf :
```
server {
listen 8000;
server_name localhost;
include /conf.d/headers.conf;
location / {
proxy_pass http://etherpad/mypads/;
proxy_read_timeout 3600;
include /conf.d/proxy-params.conf;
}
location /p/ {
proxy_pass http://etherpad/p/;
proxy_read_timeout 3600;
include /conf.d/proxy-params.conf;
}
location /static/ {
proxy_pass http://etherpad/static/;
proxy_read_timeout 3600;
include /conf.d/proxy-params.conf;
}
location /mypads/ {
proxy_pass http://etherpad/mypads/;
proxy_read_timeout 3600;
include /conf.d/proxy-params.conf;
}
location /admin/ {
proxy_pass http://etherpad/admin/;
proxy_read_timeout 3600;
include /conf.d/proxy-params.conf;
}
location /socket.io/ {
proxy_pass http://etherpad/socket.io/;
proxy_read_timeout 3600;
include /conf.d/proxy-params.conf;
}
location /locales.json {
proxy_pass http://etherpad/locales.json;
proxy_read_timeout 3600;
include /conf.d/proxy-params.conf;
}
location /javascripts/ {
proxy_pass http://etherpad/javascripts/;
proxy_read_timeout 3600;
include /conf.d/proxy-params.conf;
}
location /pluginfw/ {
proxy_pass http://etherpad/pluginfw/;
proxy_read_timeout 3600;
include /conf.d/proxy-params.conf;
}
location /locales/ {
proxy_pass http://etherpad/locales/;
proxy_read_timeout 3600;
include /conf.d/proxy-params.conf;
}
}
```

13
unmaintened/etherpad/builder.sh Executable file
View File

@ -0,0 +1,13 @@
#!/bin/sh
COMMIT_ID=$(git log -n 1 --pretty=format:%H -- etherpad/)
LAST_COMMIT_ID=$(git log -n 1 --pretty=format:%H --)
if [ "$COMMIT_ID" == "$LAST_COMMIT_ID" ]; then
echo "build image"
docker build -t registry.dryusdan.fr/dryusdan/etherpad etherpad/
docker push registry.dryusdan.fr/dryusdan/etherpad
docker rmi registry.dryusdan.fr/dryusdan/etherpad
else
echo "image is recent. No build"
fi

View File

@ -0,0 +1,34 @@
#!/bin/sh -e
addgroup -g ${GID} etherpad && adduser -h /etherpad -s /bin/sh -G etherpad -u ${UID} -D etherpad
chown -R etherpad:etherpad /etherpad
random_key() {
dd if=/dev/urandom bs=64 count=1 2>/dev/null|sha256sum|cut -d' ' -f1|tr -d '\n'
}
target=/etherpad/node_modules
if [ -d "$target" ]; then
if find "$target" -mindepth 1 -print -quit | grep -q .; then
# no files don't do anything
# we may use this if condition for something else later
echo not empty, don\'t do anything...
else
# we don't have any files, let's copy the
# files from etc and var to the right locations
cp -r /modules/* /etherpad/node_modules/
fi
else
# directory doesn't exist, we will have to do something here
echo node_modules not exist exiting
exit 0
fi
if [ "/etherpad/bin/run.sh" = "$1" ]; then
[ -r /etherpad/APIKEY.txt ] || random_key > /etherpad/APIKEY.txt
[ -r /etherpad/SESSIONKEY.txt ] || random_key > /etherpad/SESSIONKEY.txt
touch /etherpad/node_modules/ep_etherpad-lite/.ep_initialized
chown -R etherpad:etherpad /etherpad/settings.json /etherpad/var
exec su-exec etherpad "$@"
fi
exec "$@"

View File

@ -0,0 +1,213 @@
/*
This file must be valid JSON. But comments are allowed
Please edit settings.json, not settings.json.template
To still commit settings without credentials you can
store any credential settings in credentials.json
*/
{
// Name your instance!
"title": "Etherpad",
// favicon default name
// alternatively, set up a fully specified Url to your own favicon
"favicon": "favicon.ico",
//IP and port which etherpad should bind at
"ip": "0.0.0.0",
"port" : 9001,
// Option to hide/show the settings.json in admin page, default option is set to true
"showSettingsInAdminPage" : true,
/*
// Node native SSL support
// this is disabled by default
//
// make sure to have the minimum and correct file access permissions set
// so that the Etherpad server can access them
"ssl" : {
"key" : "/path-to-your/epl-server.key",
"cert" : "/path-to-your/epl-server.crt",
"ca": ["/path-to-your/epl-intermediate-cert1.crt", "/path-to-your/epl-intermediate-cert2.crt"]
},
*/
//The Type of the database. You can choose between dirty, postgres, sqlite and mysql
//You shouldn't use "dirty" for for anything else than testing or development
"dbType" : "dirty",
//the database specific settings
"dbSettings" : {
"filename" : "var/dirty.db"
},
/* An Example of MySQL Configuration
"dbType" : "mysql",
"dbSettings" : {
"user" : "root",
"host" : "localhost",
"password": "",
"database": "store",
"charset" : "utf8mb4"
},
*/
//the default text of a pad
"defaultPadText" : "Welcome to Etherpad!\n\nThis pad text is synchronized as you type, so that everyone viewing this page sees the same text. This allows you to collaborate seamlessly on documents!\n\nGet involved with Etherpad at http:\/\/etherpad.org\n",
/* Default Pad behavior, users can override by changing */
"padOptions": {
"noColors": false,
"showControls": true,
"showChat": true,
"showLineNumbers": true,
"useMonospaceFont": false,
"userName": false,
"userColor": false,
"rtl": false,
"alwaysShowChat": false,
"chatAndUsers": false,
"lang": "en-gb"
},
/* Should we suppress errors from being visible in the default Pad Text? */
"suppressErrorsInPadText" : false,
/* Users must have a session to access pads. This effectively allows only group pads to be accessed. */
"requireSession" : false,
/* Users may edit pads but not create new ones. Pad creation is only via the API. This applies both to group pads and regular pads. */
"editOnly" : false,
/* Users, who have a valid session, automatically get granted access to password protected pads */
"sessionNoPassword" : false,
/* if true, all css & js will be minified before sending to the client. This will improve the loading performance massivly,
but makes it impossible to debug the javascript/css */
"minify" : true,
/* How long may clients use served javascript code (in seconds)? Without versioning this
may cause problems during deployment. Set to 0 to disable caching */
"maxAge" : 21600, // 60 * 60 * 6 = 6 hours
/* This is the absolute path to the Abiword executable. Setting it to null, disables abiword.
Abiword is needed to advanced import/export features of pads*/
"abiword" : null,
/* This is the absolute path to the soffice executable. Setting it to null, disables LibreOffice exporting.
LibreOffice can be used in lieu of Abiword to export pads */
"soffice" : null,
/* This is the path to the Tidy executable. Setting it to null, disables Tidy.
Tidy is used to improve the quality of exported pads*/
"tidyHtml" : null,
/* Allow import of file types other than the supported types: txt, doc, docx, rtf, odt, html & htm */
"allowUnknownFileEnds" : true,
/* This setting is used if you require authentication of all users.
Note: /admin always requires authentication. */
"requireAuthentication" : false,
/* Require authorization by a module, or a user with is_admin set, see below. */
"requireAuthorization" : false,
/*when you use NginX or another proxy/ load-balancer set this to true*/
"trustProxy" : false,
/* Privacy: disable IP logging */
"disableIPlogging" : false,
/* Users for basic authentication. is_admin = true gives access to /admin.
If you do not uncomment this, /admin will not be available! */
"users": {
"admin": {
"password": "changeme1",
"is_admin": true
},
"user": {
"password": "changeme1",
"is_admin": false
}
},
// restrict socket.io transport methods
"socketTransportProtocols" : ["xhr-polling", "jsonp-polling", "htmlfile"],
// Allow Load Testing tools to hit the Etherpad Instance. Warning this will disable security on the instance.
"loadTest": false,
// Disable indentation on new line when previous line ends with some special chars (':', '[', '(', '{')
/*
"indentationOnNewLine": false,
*/
/* The toolbar buttons configuration.
"toolbar": {
"left": [
["bold", "italic", "underline", "strikethrough"],
["orderedlist", "unorderedlist", "indent", "outdent"],
["undo", "redo"],
["clearauthorship"]
],
"right": [
["importexport", "timeslider", "savedrevision"],
["settings", "embed"],
["showusers"]
],
"timeslider": [
["timeslider_export", "timeslider_returnToPad"]
]
},
*/
/* The log level we are using, can be: DEBUG, INFO, WARN, ERROR */
"loglevel": "INFO",
//Logging configuration. See log4js documentation for further information
// https://github.com/nomiddlename/log4js-node
// You can add as many appenders as you want here:
"logconfig" :
{ "appenders": [
{ "type": "console"
//, "category": "access"// only logs pad access
}
/*
, { "type": "file"
, "filename": "your-log-file-here.log"
, "maxLogSize": 1024
, "backups": 3 // how many log files there're gonna be at max
//, "category": "test" // only log a specific category
}*/
/*
, { "type": "logLevelFilter"
, "level": "warn" // filters out all log messages that have a lower level than "error"
, "appender":
{ Use whatever appender you want here }
}*/
/*
, { "type": "logLevelFilter"
, "level": "error" // filters out all log messages that have a lower level than "error"
, "appender":
{ "type": "smtp"
, "subject": "An error occurred in your EPL instance!"
, "recipients": "bar@blurdybloop.com, baz@blurdybloop.com"
, "sendInterval": 300 // 60 * 5 = 5 minutes -- will buffer log messages; set to 0 to send a mail for every message
, "transport": "SMTP", "SMTP": { // see https://github.com/andris9/Nodemailer#possible-transport-methods
"host": "smtp.example.com", "port": 465,
"secureConnection": true,
"auth": {
"user": "foo@example.com",
"pass": "bar_foo"
}
}
}
}*/
]
}
}