优化xxl-job的一键部署docker-compose.yml

This commit is contained in:
Kenny小狼 2024-03-13 14:46:26 +08:00
parent 5a13e8f304
commit 0ed70099d7

View File

@ -5,7 +5,7 @@ networks:
services:
&db xxl-job-mysql:
image: mysql:latest
image: mysql:8.3
ports:
- "23306:3306"
container_name: "xxl-job-mysql"
@ -25,7 +25,7 @@ services:
depends_on:
- *db
ports:
- "8081:8080"
- "8080:8080"
environment:
- PARAMS=--spring.config.location=/data/application.properties
#- JAVA_OPTS=-Xmx512m