pq-t1: allow custom certificates

This commit is contained in:
Henry Case 2018-08-19 21:41:53 +01:00
parent 2bbc6e8233
commit 6bc0509611
3 changed files with 8 additions and 6 deletions

View File

@ -2,7 +2,7 @@ FROM buildpack-deps
EXPOSE 443 EXPOSE 443
#ADD cert/privkey.pem / ADD certs/privkey.pem /
#ADD cert/fullchain.pem / ADD certs/fullchain.pem /
ADD bin/server / ADD bin/server /
CMD [ "/server", "-b", "0.0.0.0:443", "-qr" ] CMD [ "/server", "-b", "0.0.0.0:443", "-qr", "-cert", "/privkey.pem:/fullchain.pem" ]

View File

@ -1,7 +1,9 @@
NAME=pq-t1
PORT=50510
build: build:
docker build -t pq-t1 . docker build -t ${NAME} .
run: run:
docker run --detach --restart always --name pq-t1 -p 50510:443 pq-t1 docker run --detach --restart always --name ${NAME} -p 50510:443 ${NAME}
restart: restart:
docker restart pq-t1 docker restart ${NAME}

Binary file not shown.