Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Paste
P149
run-etherpad.sh
Active
Public
Actions
Authored by
dereckson
on Jan 1 2016, 22:52.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Referenced Files
F15784: run-etherpad.sh
Jan 1 2016, 22:52
2016-01-01 22:52:35 (UTC+0)
Subscribers
None
#!/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
Event Timeline
dereckson
edited the content of this paste.
(Show Details)
Jan 1 2016, 22:52
2016-01-01 22:52:35 (UTC+0)
dereckson
changed the title of this paste from untitled to
run-etherpad.sh
.
Log In to Comment