Add ODK Build selfsigned cert injection

This commit is contained in:
Disassembler 2018-09-03 15:59:05 +02:00
parent d47891b19c
commit dfc3dafe37
Signed by: Disassembler
GPG Key ID: 524BD33A0EE29499
2 changed files with 2 additions and 0 deletions

View File

@ -2,5 +2,6 @@
cd /srv/opendatakit-build
fdmove -c 2 1
foreground { /usr/sbin/update-ca-certificates }
s6-setuidgid 8017:8017
bundle exec rackup config.ru -o 0.0.0.0 -p 8080

View File

@ -11,6 +11,7 @@ start() {
--name opendatakit-build \
-h opendatakit-build \
--link postgres \
-v /etc/ssl/services.pem:/usr/local/share/ca-certificates/services.crt \
-v /srv/opendatakit-build/conf/config.yml:/srv/opendatakit-build/config.yml \
opendatakit-build
}