add 初始化
This commit is contained in:
@@ -0,0 +1,35 @@
|
||||
version: '2'
|
||||
services:
|
||||
jero-boot-mysql:
|
||||
build:
|
||||
context: ./db
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: root
|
||||
restart: always
|
||||
container_name: jero-boot-mysql
|
||||
image: jero-boot-mysql
|
||||
command:
|
||||
--character-set-server=utf8mb4
|
||||
--collation-server=utf8mb4_general_ci
|
||||
--explicit_defaults_for_timestamp=true
|
||||
--lower_case_table_names=1
|
||||
--max_allowed_packet=128M
|
||||
ports:
|
||||
- 3306:3306
|
||||
|
||||
jero-boot-redis:
|
||||
image: redis:5.0
|
||||
ports:
|
||||
- 6379:6379
|
||||
restart: always
|
||||
container_name: jero-boot-redis
|
||||
|
||||
|
||||
jero-boot-system:
|
||||
build:
|
||||
context: ./jero-boot-module-system
|
||||
restart: always
|
||||
container_name: jero-boot-system
|
||||
image: jero-boot-system
|
||||
ports:
|
||||
- 8080:8080
|
||||
Reference in New Issue
Block a user