pq_t1: certs

This commit is contained in:
Kris 2018-08-19 22:23:24 +00:00
parent 41a5dc81b8
commit 15043df717

View File

@ -1,9 +1,12 @@
NAME=pq-t1 NAME=pq-t1
PORT=50510 PORT=50510
build: build:
mkdir -p certs
cp ../../cert/fullchain.pem certs/
cp ../../cert/privkey.pem certs/
docker build -t ${NAME} . docker build -t ${NAME} .
run: run:
docker run --detach --restart always --name ${NAME} -p 50510:443 ${NAME} docker run --detach --restart always --name ${NAME} -p ${PORT}:443 ${NAME}
restart: restart:
docker restart ${NAME} docker restart ${NAME}