Disassembler f436a00223
Fix OpenDataKit URL confusion once more, related to #226 and others
- Partially revert commit 955a178
 - Move ODK Build to port 8x17
2018-03-17 16:43:37 +01:00

23 lines
416 B
Plaintext
Executable File

#!/sbin/openrc-run
description="OpenDataKit Build docker container"
depend() {
need docker net postgres
use dns logger netmount
}
start() {
/usr/bin/docker run -d --rm \
--name opendatakit-build \
-h opendatakit-build \
--link postgres \
-p 127.0.0.1:8017:8017 \
-v /srv/opendatakit-build/conf/config.yml:/srv/odkbuild/config.yml \
opendatakit-build
}
stop() {
/usr/bin/docker stop opendatakit-build
}