Update Apps
This commit is contained in:
58
apps/uuwaf/6.8.0/docker-compose.yml
Normal file
58
apps/uuwaf/6.8.0/docker-compose.yml
Normal file
@@ -0,0 +1,58 @@
|
||||
services:
|
||||
uuwaf:
|
||||
image: "uusec/nanqiang:v6.8.0"
|
||||
ulimits:
|
||||
nproc: 65535
|
||||
nofile:
|
||||
soft: 102400
|
||||
hard: 102400
|
||||
container_name: ${CONTAINER_NAME}
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
ports:
|
||||
- ${PANEL_APP_PORT_HTTP}:80
|
||||
- ${PANEL_APP_PORT_HTTPS}:443
|
||||
- ${PANEL_APP_PORT_CONSOLE}:4443
|
||||
volumes:
|
||||
- wafshared:/uuwaf
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
command: ["/run.sh"]
|
||||
environment:
|
||||
- TZ=${TIME_ZONE}
|
||||
- UUWAF_MYSQL_PASSWORD=${PANEL_DB_USER_PASSWORD}
|
||||
links:
|
||||
- wafdb
|
||||
depends_on:
|
||||
wafdb:
|
||||
condition: service_healthy
|
||||
wafdb:
|
||||
image: "percona/percona-server:8.4.5"
|
||||
container_name: ${CONTAINER_NAME}-db
|
||||
restart: always
|
||||
networks:
|
||||
- 1panel-network
|
||||
volumes:
|
||||
- wafshared:/docker-entrypoint-initdb.d
|
||||
- wafdata:/var/lib/mysql
|
||||
- /etc/localtime:/etc/localtime:ro
|
||||
- ./low-memory-my.cnf:/etc/mysql/my.cnf
|
||||
environment:
|
||||
- TZ=${TIME_ZONE}
|
||||
- INIT_ROCKSDB
|
||||
- MYSQL_MAX_CONNECTIONS=${MYSQL_MAX_CONNECTIONS}
|
||||
- MYSQL_ROOT_PASSWORD=${PANEL_DB_USER_PASSWORD}
|
||||
healthcheck:
|
||||
test: ["CMD", "mysqladmin", "ping", "-h", "127.0.0.1", "--silent"]
|
||||
start_period: 3s
|
||||
interval: 5s
|
||||
timeout: 3s
|
||||
retries: 7
|
||||
volumes:
|
||||
wafshared:
|
||||
name: wafshared
|
||||
wafdata:
|
||||
name: wafdata
|
||||
networks:
|
||||
1panel-network:
|
||||
external: true
|
||||
Reference in New Issue
Block a user