2018-08-19 21:49:23 +01:00
|
|
|
NAME=pq-t2
|
|
|
|
PORT=50511
|
|
|
|
build:
|
2018-08-19 22:07:56 +01:00
|
|
|
mkdir -p certs
|
|
|
|
cp ../../cert/fullchain.pem certs/
|
|
|
|
cp ../../cert/privkey.pem certs/
|
2018-08-19 21:49:23 +01:00
|
|
|
docker build -t ${NAME} .
|
|
|
|
run:
|
|
|
|
docker run --detach --restart always --name ${NAME} -p ${PORT}:443 ${NAME}
|
|
|
|
|
|
|
|
restart:
|
|
|
|
docker restart ${NAME}
|