Split init.d docker run commands into lines
This commit is contained in:
parent
42e9046ef1
commit
a1237a25ca
@ -8,7 +8,11 @@ depend() {
|
||||
}
|
||||
|
||||
start() {
|
||||
/usr/bin/docker run -d --rm --name activemq -h activemq -v /srv/activemq/data:/srv/activemq/data activemq
|
||||
/usr/bin/docker run -d --rm \
|
||||
--name activemq \
|
||||
-h activemq \
|
||||
-v /srv/activemq/data:/srv/activemq/data \
|
||||
activemq
|
||||
}
|
||||
|
||||
stop() {
|
||||
|
@ -8,7 +8,13 @@ depend() {
|
||||
}
|
||||
|
||||
start() {
|
||||
/usr/bin/docker run -d --rm --name ckan-datapusher -h ckan-datapusher -p 127.0.0.1:9004:8004 -v /srv/ckan-datapusher/conf:/etc/ckan-datapusher -v /srv/ckan-datapusher/data:/srv/ckan-datapusher/data ckan-datapusher
|
||||
/usr/bin/docker run -d --rm \
|
||||
--name ckan-datapusher \
|
||||
-h ckan-datapusher \
|
||||
-p 127.0.0.1:9004:8004 \
|
||||
-v /srv/ckan-datapusher/conf:/etc/ckan-datapusher \
|
||||
-v /srv/ckan-datapusher/data:/srv/ckan-datapusher/data \
|
||||
ckan-datapusher
|
||||
}
|
||||
|
||||
stop() {
|
||||
|
@ -13,7 +13,17 @@ start_pre() {
|
||||
}
|
||||
|
||||
start() {
|
||||
/usr/bin/docker run -d --rm --name ckan -h ckan --link postgres --link redis --link solr --link ckan-datapusher -p 127.0.0.1:9003:8003 -v /srv/ckan/conf:/etc/ckan -v /srv/ckan/data:/srv/ckan/storage ckan
|
||||
/usr/bin/docker run -d --rm \
|
||||
--name ckan \
|
||||
-h ckan \
|
||||
--link postgres \
|
||||
--link redis \
|
||||
--link solr \
|
||||
--link ckan-datapusher \
|
||||
-p 127.0.0.1:9003:8003 \
|
||||
-v /srv/ckan/conf:/etc/ckan \
|
||||
-v /srv/ckan/data:/srv/ckan/storage \
|
||||
ckan
|
||||
}
|
||||
|
||||
stop() {
|
||||
|
@ -9,7 +9,13 @@ depend() {
|
||||
}
|
||||
|
||||
start() {
|
||||
/usr/bin/docker run -d --rm --name crisiscleanup -h crisiscleanup --link postgres -p 127.0.0.1:9005:8005 -v /srv/crisiscleanup/conf:/srv/crisiscleanup/config crisiscleanup
|
||||
/usr/bin/docker run -d --rm \
|
||||
--name crisiscleanup \
|
||||
-h crisiscleanup \
|
||||
--link postgres \
|
||||
-p 127.0.0.1:9005:8005 \
|
||||
-v /srv/crisiscleanup/conf:/srv/crisiscleanup/config \
|
||||
crisiscleanup
|
||||
}
|
||||
|
||||
stop() {
|
||||
|
@ -9,7 +9,13 @@ depend() {
|
||||
}
|
||||
|
||||
start() {
|
||||
/usr/bin/docker run -d --rm --name cts -h cts --link postgres -p 127.0.0.1:9006:8006 -v /srv/cts/conf:/srv/cts/cts/settings cts
|
||||
/usr/bin/docker run -d --rm \
|
||||
--name cts \
|
||||
-h cts \
|
||||
--link postgres \
|
||||
-p 127.0.0.1:9006:8006 \
|
||||
-v /srv/cts/conf:/srv/cts/cts/settings \
|
||||
cts
|
||||
}
|
||||
|
||||
stop() {
|
||||
|
@ -9,7 +9,13 @@ depend() {
|
||||
}
|
||||
|
||||
start() {
|
||||
/usr/bin/docker run -d --rm --name gnuhealth -h gnuhealth --link postgres -p 127.0.0.1:9008:8008 -v /srv/gnuhealth/conf:/srv/gnuhealth/gnuhealth/tryton/server/config gnuhealth
|
||||
/usr/bin/docker run -d --rm \
|
||||
--name gnuhealth \
|
||||
-h gnuhealth \
|
||||
--link postgres \
|
||||
-p 127.0.0.1:9008:8008 \
|
||||
-v /srv/gnuhealth/conf:/srv/gnuhealth/gnuhealth/tryton/server/config \
|
||||
gnuhealth
|
||||
}
|
||||
|
||||
stop() {
|
||||
|
@ -9,7 +9,14 @@ depend() {
|
||||
}
|
||||
|
||||
start() {
|
||||
/usr/bin/docker run -d --rm --name kanboard -h kanboard --link postgres -p 127.0.0.1:9009:8009 -v /srv/kanboard/data:/srv/kanboard/data/files -v /srv/kanboard/conf/config.php:/srv/kanboard/config.php kanboard
|
||||
/usr/bin/docker run -d --rm \
|
||||
--name kanboard \
|
||||
-h kanboard \
|
||||
--link postgres \
|
||||
-p 127.0.0.1:9009:8009 \
|
||||
-v /srv/kanboard/data:/srv/kanboard/data/files \
|
||||
-v /srv/kanboard/conf/config.php:/srv/kanboard/config.php \
|
||||
kanboard
|
||||
}
|
||||
|
||||
stop() {
|
||||
|
@ -8,7 +8,12 @@ depend() {
|
||||
}
|
||||
|
||||
start() {
|
||||
/usr/bin/docker run -d --rm --name mariadb -h mariadb -v /srv/mariadb/my.cnf:/etc/mysql/my.cnf -v /srv/mariadb/data:/var/lib/mysql mariadb
|
||||
/usr/bin/docker run -d --rm \
|
||||
--name mariadb \
|
||||
-h mariadb \
|
||||
-v /srv/mariadb/my.cnf:/etc/mysql/my.cnf \
|
||||
-v /srv/mariadb/data:/var/lib/mysql \
|
||||
mariadb
|
||||
}
|
||||
|
||||
stop() {
|
||||
|
@ -9,7 +9,13 @@ depend() {
|
||||
}
|
||||
|
||||
start() {
|
||||
/usr/bin/docker run -d --rm --name mifosx -h mifosx --link mariadb -p 127.0.0.1:9012:8012 -v /srv/mifosx/context.xml:/srv/tomcat/webapps/fineract-provider/META-INF/context.xml mifosx
|
||||
/usr/bin/docker run -d --rm \
|
||||
--name mifosx \
|
||||
-h mifosx \
|
||||
--link mariadb \
|
||||
-p 127.0.0.1:9012:8012 \
|
||||
-v /srv/mifosx/context.xml:/srv/tomcat/webapps/fineract-provider/META-INF/context.xml \
|
||||
mifosx
|
||||
}
|
||||
|
||||
stop() {
|
||||
|
@ -9,7 +9,14 @@ depend() {
|
||||
}
|
||||
|
||||
start() {
|
||||
/usr/bin/docker run -d --rm --name motech -h motech --link activemq --link postgres -p 127.0.0.1:9013:8013 -v /srv/motech/conf:/srv/tomcat/.motech motech
|
||||
/usr/bin/docker run -d --rm \
|
||||
--name motech \
|
||||
-h motech \
|
||||
--link activemq \
|
||||
--link postgres \
|
||||
-p 127.0.0.1:9013:8013 \
|
||||
-v /srv/motech/conf:/srv/tomcat/.motech \
|
||||
motech
|
||||
}
|
||||
|
||||
stop() {
|
||||
|
@ -8,7 +8,13 @@ depend() {
|
||||
}
|
||||
|
||||
start() {
|
||||
/usr/bin/docker run -d --rm --name openmapkit -h openmapkit -p 127.0.0.1:9007:8007 -v /srv/openmapkit/settings.js:/srv/openmapkit/settings.js -v /srv/openmapkit/data:/srv/openmapkit/data openmapkit
|
||||
/usr/bin/docker run -d --rm \
|
||||
--name openmapkit \
|
||||
-h openmapkit \
|
||||
-p 127.0.0.1:9007:8007 \
|
||||
-v /srv/openmapkit/settings.js:/srv/openmapkit/settings.js \
|
||||
-v /srv/openmapkit/data:/srv/openmapkit/data \
|
||||
openmapkit
|
||||
}
|
||||
|
||||
stop() {
|
||||
|
@ -9,7 +9,15 @@ depend() {
|
||||
}
|
||||
|
||||
start() {
|
||||
/usr/bin/docker run -d --rm --name pandora -h pandora --link postgres --link rabbitmq -p 127.0.0.1:9011:8011 -v /srv/pandora/conf:/srv/pandora/conf -v /srv/pandora/data:/srv/pandora/data pandora
|
||||
/usr/bin/docker run -d --rm \
|
||||
--name pandora \
|
||||
-h pandora \
|
||||
--link postgres \
|
||||
--link rabbitmq \
|
||||
-p 127.0.0.1:9011:8011 \
|
||||
-v /srv/pandora/conf:/srv/pandora/conf \
|
||||
-v /srv/pandora/data:/srv/pandora/data \
|
||||
pandora
|
||||
}
|
||||
|
||||
stop() {
|
||||
|
@ -8,7 +8,12 @@ depend() {
|
||||
}
|
||||
|
||||
start() {
|
||||
/usr/bin/docker run -d --rm --name postfix -h postfix -v /srv/postfix/conf:/etc/postfix -v /srv/postfix/data:/var/spool/postfix postfix
|
||||
/usr/bin/docker run -d --rm \
|
||||
--name postfix \
|
||||
-h postfix \
|
||||
-v /srv/postfix/conf:/etc/postfix \
|
||||
-v /srv/postfix/data:/var/spool/postfix \
|
||||
postfix
|
||||
}
|
||||
|
||||
stop() {
|
||||
|
@ -8,7 +8,11 @@ depend() {
|
||||
}
|
||||
|
||||
start() {
|
||||
/usr/bin/docker run -d --rm --name postgres -h postgres -v /srv/postgres:/var/lib/postgresql postgres
|
||||
/usr/bin/docker run -d --rm \
|
||||
--name postgres \
|
||||
-h postgres \
|
||||
-v /srv/postgres:/var/lib/postgresql \
|
||||
postgres
|
||||
}
|
||||
|
||||
stop() {
|
||||
|
@ -8,7 +8,11 @@ depend() {
|
||||
}
|
||||
|
||||
start() {
|
||||
/usr/bin/docker run -d --rm --name rabbitmq -h rabbitmq -v /srv/rabbitmq/data:/var/lib/rabbitmq/mnesia rabbitmq
|
||||
/usr/bin/docker run -d --rm \
|
||||
--name rabbitmq \
|
||||
-h rabbitmq \
|
||||
-v /srv/rabbitmq/data:/var/lib/rabbitmq/mnesia \
|
||||
rabbitmq
|
||||
}
|
||||
|
||||
stop() {
|
||||
|
@ -8,7 +8,12 @@ depend() {
|
||||
}
|
||||
|
||||
start() {
|
||||
/usr/bin/docker run -d --rm --name redis -h redis -v /srv/redis/redis.conf:/etc/redis.conf -v /srv/redis/data:/var/lib/redis redis
|
||||
/usr/bin/docker run -d --rm \
|
||||
--name redis \
|
||||
-h redis \
|
||||
-v /srv/redis/redis.conf:/etc/redis.conf \
|
||||
-v /srv/redis/data:/var/lib/redis \
|
||||
redis
|
||||
}
|
||||
|
||||
stop() {
|
||||
|
@ -9,7 +9,14 @@ depend() {
|
||||
}
|
||||
|
||||
start() {
|
||||
/usr/bin/docker run -d --rm --name seeddms -h seeddms --link postgres -p 127.0.0.1:9010:8010 -v /srv/seeddms/data:/srv/seeddms/data -v /srv/seeddms/conf:/srv/seeddms/www/conf seeddms
|
||||
/usr/bin/docker run -d --rm \
|
||||
--name seeddms \
|
||||
-h seeddms \
|
||||
--link postgres \
|
||||
-p 127.0.0.1:9010:8010 \
|
||||
-v /srv/seeddms/data:/srv/seeddms/data \
|
||||
-v /srv/seeddms/conf:/srv/seeddms/www/conf \
|
||||
seeddms
|
||||
}
|
||||
|
||||
stop() {
|
||||
|
@ -8,7 +8,11 @@ depend() {
|
||||
}
|
||||
|
||||
start() {
|
||||
/usr/bin/docker run -d --rm --name solr -h solr -v /srv/solr/data:/var/lib/solr solr
|
||||
/usr/bin/docker run -d --rm \
|
||||
--name solr \
|
||||
-h solr \
|
||||
-v /srv/solr/data:/var/lib/solr \
|
||||
solr
|
||||
}
|
||||
|
||||
stop() {
|
||||
|
@ -9,7 +9,13 @@ depend() {
|
||||
}
|
||||
|
||||
start() {
|
||||
/usr/bin/docker run -d --rm --name ushahidi -h ushahidi --link mariadb -p 127.0.0.1:9014:8014 -v /srv/ushahidi/.env:/srv/ushahidi/platform/.env ushahidi
|
||||
/usr/bin/docker run -d --rm \
|
||||
--name ushahidi \
|
||||
-h ushahidi \
|
||||
--link mariadb \
|
||||
-p 127.0.0.1:9014:8014 \
|
||||
-v /srv/ushahidi/.env:/srv/ushahidi/platform/.env \
|
||||
ushahidi
|
||||
}
|
||||
|
||||
stop() {
|
||||
|
Loading…
Reference in New Issue
Block a user