mirror of https://github.com/certd/certd
pref: 支持https启动
parent
1c17b41e16
commit
1480efb43d
|
@ -1,14 +0,0 @@
|
||||||
version: '3.3'
|
|
||||||
services:
|
|
||||||
ftp:
|
|
||||||
# 镜像 # ↓↓↓↓↓ --- 1、 镜像版本号,建议改成固定版本号【可选】
|
|
||||||
image: gists/pure-ftpd
|
|
||||||
container_name: ftp # 容器名
|
|
||||||
restart: unless-stopped # 自动重启
|
|
||||||
volumes:
|
|
||||||
- /data/ftp2/:/home/ftpuser
|
|
||||||
ports: # 端口映射
|
|
||||||
- "21:21"
|
|
||||||
- "30000-30009:30000-30009"
|
|
||||||
environment: # 环境变量
|
|
||||||
- TZ=Asia/Shanghai
|
|
|
@ -26,6 +26,10 @@ services:
|
||||||
# ↑↑↑↑↑---------------------------5、如果设置为true,启动后所有配置了cron的流水线任务都将被立即触发一次【可选】
|
# ↑↑↑↑↑---------------------------5、如果设置为true,启动后所有配置了cron的流水线任务都将被立即触发一次【可选】
|
||||||
- VITE_APP_ICP_NO=
|
- VITE_APP_ICP_NO=
|
||||||
# ↑↑↑↑↑ -----------------------------------------6、这里可以设置备案号【可选】
|
# ↑↑↑↑↑ -----------------------------------------6、这里可以设置备案号【可选】
|
||||||
|
#- certd_koa_key=./data/ssl/cert.key
|
||||||
|
#- certd_koa_cert=./data/ssl/cert.crt
|
||||||
|
# ↑↑↑↑↑ -----------------------------------------7、配置证书和key,则表示https方式启动,访问网址要使用 https://your.domain:7001【可选】
|
||||||
|
|
||||||
# 设置环境变量即可自定义certd配置
|
# 设置环境变量即可自定义certd配置
|
||||||
# 服务端配置项见: packages/ui/certd-server/src/config/config.default.ts
|
# 服务端配置项见: packages/ui/certd-server/src/config/config.default.ts
|
||||||
# 服务端配置规则: certd_ + 配置项, 点号用_代替
|
# 服务端配置规则: certd_ + 配置项, 点号用_代替
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
koa:
|
koa:
|
||||||
port: 7001
|
port: 7001
|
||||||
|
# key: ./data/ssl/cert.key
|
||||||
|
# cert: ./data/ssl/cert.crt
|
||||||
#plus:
|
#plus:
|
||||||
# server:
|
# server:
|
||||||
# baseUrl: 'http://127.0.0.1:11007'
|
# baseUrl: 'http://127.0.0.1:11007'
|
||||||
|
|
Loading…
Reference in New Issue