Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F46186
run-pad
No One
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Authored By
dereckson
Jul 27 2016, 19:40
2016-07-27 19:40:00 (UTC+0)
Size
451 B
Referenced Files
None
Subscribers
None
run-pad
View Options
#!/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
Details
Attached
Mime Type
text/plain; charset=utf-8
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
41748
Default Alt Text
run-pad (451 B)
Attached To
Mode
P210 run-pad
Attached
Detach File
Event Timeline
Log In to Comment