瀏覽代碼

pq_t1: certs

keep-around/15043df717477c3a79cd1b5c7f17df4a421fe2e7
Kris 6 年之前
父節點
當前提交
15043df717
共有 1 個檔案被更改,包括 4 行新增1 行删除
  1. +4
    -1
      images/pq-t1/Makefile

+ 4
- 1
images/pq-t1/Makefile 查看文件

@@ -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}

Loading…
取消
儲存