mirror of
https://gitee.com/samwaf/SamWaf.git
synced 2025-12-06 06:58:54 +08:00
feat:docker add ssl folder
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -12,6 +12,8 @@ services:
|
||||
- ./conf:/app/conf
|
||||
- ./data:/app/data
|
||||
- ./logs:/app/logs
|
||||
- ./ssl:/app/ssl
|
||||
|
||||
networks:
|
||||
- samwafnet
|
||||
restart: always
|
||||
|
||||
Reference in New Issue
Block a user