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