feat:docker add ssl folder

This commit is contained in:
samwaf
2024-10-10 11:07:54 +08:00
parent 4b959e6761
commit f20ac05230
2 changed files with 4 additions and 2 deletions

View File

@@ -9,8 +9,8 @@ COPY release/SamWafLinux64 .
# 设置执行权限
RUN chmod +x SamWafLinux64
# 挂载 conf, data, logs 目录
VOLUME ["/app/conf", "/app/data", "/app/logs"]
# 挂载 conf, data, logs 和ssl 目录
VOLUME ["/app/conf", "/app/data", "/app/logs", "/app/ssl"]
# 暴露端口
EXPOSE 26666 80 443

View File

@@ -12,6 +12,8 @@ services:
- ./conf:/app/conf
- ./data:/app/data
- ./logs:/app/logs
- ./ssl:/app/ssl
networks:
- samwafnet
restart: always