Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Paste
P210
run-pad
Active
Public
Actions
Authored by
dereckson
on Jul 27 2016, 17:31.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
Etherpad
Nasqueron Docker deployment squad
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
created this paste.
Jul 27 2016, 17:31
2016-07-27 17:31:54 (UTC+0)
dereckson
edited the content of this paste.
(Show Details)
Jul 27 2016, 19:40
2016-07-27 19:40:00 (UTC+0)
Log In to Comment