2023-08-23 10:38:20 +08:00
|
|
|
networks:
|
2023-08-28 11:05:56 +08:00
|
|
|
1panel-network:
|
|
|
|
external: true
|
2023-08-23 10:38:20 +08:00
|
|
|
|
|
|
|
services:
|
|
|
|
uuwaf:
|
2023-09-06 16:51:03 +08:00
|
|
|
image: uusec/nanqiang:v2.6.1
|
2023-08-23 10:38:20 +08:00
|
|
|
ulimits:
|
|
|
|
nproc: 65535
|
|
|
|
nofile:
|
|
|
|
soft: 102400
|
|
|
|
hard: 102400
|
2023-08-28 15:43:56 +08:00
|
|
|
container_name: ${CONTAINER_NAME}
|
2023-08-23 10:38:20 +08:00
|
|
|
networks:
|
2023-08-28 11:05:56 +08:00
|
|
|
- 1panel-network
|
2023-08-23 10:38:20 +08:00
|
|
|
ports:
|
|
|
|
- ${PANEL_APP_PORT_HTTP1}:80
|
|
|
|
- ${PANEL_APP_PORT_HTTPS2}:443
|
|
|
|
- ${PANEL_APP_PORT_HTTPS}:4443
|
|
|
|
volumes:
|
|
|
|
- wafshared:/uuwaf
|
|
|
|
command: ["/run.sh"]
|
|
|
|
environment:
|
|
|
|
- TZ=Asia/Shanghai
|
|
|
|
links:
|
|
|
|
- wafdb
|
|
|
|
depends_on:
|
|
|
|
- wafdb
|
|
|
|
|
|
|
|
wafdb:
|
|
|
|
image: percona:8
|
2023-08-28 15:43:56 +08:00
|
|
|
container_name: ${CONTAINER_NAME}-db
|
2023-08-23 10:38:20 +08:00
|
|
|
networks:
|
2023-08-28 11:05:56 +08:00
|
|
|
- 1panel-network
|
2023-08-23 10:38:20 +08:00
|
|
|
volumes:
|
|
|
|
- wafshared:/docker-entrypoint-initdb.d
|
|
|
|
- wafdata:/var/lib/mysql
|
|
|
|
environment:
|
|
|
|
- TZ=Asia/Shanghai
|
|
|
|
- INIT_ROCKSDB
|
|
|
|
- MYSQL_ROOT_PASSWORD=Safe3.WAF
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
wafshared:
|
|
|
|
wafdata:
|