Safe3 / uuWAF

A industry-leading free, high-performance, AI and semantic technology web application and API security protection product - uuWAF. 一款工业级免费、高性能、高扩展,支持AI和语义引擎的Web应用和API安全防护产品-南墙。Web应用防火墙、WAF、WAAP
https://waf.uusec.com
Other
640 stars 59 forks source link

有没有纯净版的docker-compose安装文件,不想使用一键安装 #40

Closed leim closed 4 months ago

leim commented 7 months ago

Is your feature request related to a problem? Please describe. 一键安装脚本,既安装程序又安装数据库,我们本身有现成的数据库,直接使用即可,不需要这个一键安装自带的

Describe the solution you'd like 完全手工配置的安装方式

Describe alternatives you've considered

Additional context

Safe3 commented 7 months ago

你可以参考一键安装脚本来手工安装

hilyary commented 4 months ago

你改一下docker-compose.yml不就可以了吗

21307369 commented 2 weeks ago

docker-compose.yml 第一次先把 取消挂载文件 把文件复制到主机然后在挂载进去

services:
    uuwaf:
        command:
            - /run.sh
        container_name: ${CONTAINER_NAME}
        deploy:
            resources:
                limits:
                    cpus: ${CPUS}
                    memory: ${MEMORY_LIMIT}
        environment:
            - TZ=Asia/Shanghai
        image: uusec/nanqiang:latest
        network_mode: host
        ulimits:
            nofile:
                hard: 102400
                soft: 102400
            nproc: 65535
        volumes:
            - ./data/server.key:/uuwaf/web/conf/server.key
            - ./data/server.crt:/uuwaf/web/conf/server.crt
            - ./data/error.log:/uuwaf/logs/error.log          
            - ./data/plugins/ip-intelligence.lua:/uuwaf/waf/plugins/ip-intelligence.w
            - ./data/uuwaf.conf:/uuwaf/conf/uuwaf.conf
            - ./data/conf.yaml:/uuwaf/web/conf/conf.yaml