Page MenuHomeDevCentral

run-etherpad.sh

Authored By
dereckson
Jan 1 2016, 22:52
Size
444 B
Referenced Files
None
Subscribers
None

run-etherpad.sh

#!/bin/sh
INSTANCE=etherpad
PLUGINS="ep_ether-o-meter ep_author_neat"
# First run
docker run -dt --name $INSTANCE --link=acquisitariat:mysql -p 34080:9001 -v /data/etherpad/var:/opt/etherpad-lite/var nasqueron/etherpad
# API Key and plugins
docker cp /data/etherpad/APIKEY.txt $INSTANCE:opt/etherpad-lite/APIKEY.txt
for plugin in $PLUGINS; do
docker exec $INSTANCE npm install $plugin
done
# Ready, we can restart
docker restart $INSTANCE

File Metadata

Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
13941
Default Alt Text
run-etherpad.sh (444 B)

Event Timeline