appstore-1panel/apps/uuwaf/2.7.0/docker-compose.yml
renovate[bot] 5416a71329
chore(deps): update uusec/nanqiang docker tag to v2.7.0 (#779)
* chore(deps): update uusec/nanqiang docker tag to v2.7.0

* Update app version [skip ci]

---------

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: github-action update-app-version <githubaction@githubaction.com>
2024-01-08 10:36:00 +08:00

46 lines
879 B
YAML

networks:
1panel-network:
external: true
services:
uuwaf:
image: uusec/nanqiang:v2.7.0
ulimits:
nproc: 65535
nofile:
soft: 102400
hard: 102400
container_name: ${CONTAINER_NAME}
networks:
- 1panel-network
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
container_name: ${CONTAINER_NAME}-db
networks:
- 1panel-network
volumes:
- wafshared:/docker-entrypoint-initdb.d
- wafdata:/var/lib/mysql
environment:
- TZ=Asia/Shanghai
- INIT_ROCKSDB
- MYSQL_ROOT_PASSWORD=Safe3.WAF
volumes:
wafshared:
wafdata: