|
|
@ -29,19 +29,34 @@ services:
|
|
|
|
|
|
|
|
|
|
|
|
jeecg-boot-nacos:
|
|
|
|
jeecg-boot-nacos:
|
|
|
|
restart: always
|
|
|
|
restart: always
|
|
|
|
image: nacos/nacos-server
|
|
|
|
image: nacos/nacos-server:1.4.0
|
|
|
|
container_name: jeecg-boot-nacos
|
|
|
|
container_name: jeecg-boot-nacos
|
|
|
|
hostname: jeecg-boot-nacos
|
|
|
|
hostname: jeecg-boot-nacos
|
|
|
|
ports:
|
|
|
|
ports:
|
|
|
|
- 8848:8848
|
|
|
|
- 8848:8848
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
|
|
|
|
- jeecg-boot-mysql
|
|
|
|
|
|
|
|
# volumes:
|
|
|
|
|
|
|
|
# - ./init/docker-startup.sh:/home/nacos/bin/docker-startup.sh
|
|
|
|
|
|
|
|
# - ./init/application.properties:/home/nacos/conf/application.properties
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
MODE: standalone
|
|
|
|
MODE: standalone
|
|
|
|
|
|
|
|
PREFER_HOST_MODE: hostname
|
|
|
|
|
|
|
|
SPRING_DATASOURCE_PLATFORM: mysql
|
|
|
|
|
|
|
|
MYSQL_SERVICE_HOST: jeecg-boot-mysql
|
|
|
|
|
|
|
|
MYSQL_SERVICE_PORT: 3306
|
|
|
|
|
|
|
|
MYSQL_SERVICE_USER: root
|
|
|
|
|
|
|
|
MYSQL_SERVICE_PASSWORD: root
|
|
|
|
|
|
|
|
MYSQL_SERVICE_DB_NAME: nacos
|
|
|
|
|
|
|
|
|
|
|
|
jeecg-boot-gateway:
|
|
|
|
jeecg-boot-gateway:
|
|
|
|
build:
|
|
|
|
build:
|
|
|
|
context: ./jeecg-cloud-gateway
|
|
|
|
context: ./jeecg-cloud-gateway
|
|
|
|
ports:
|
|
|
|
ports:
|
|
|
|
- 9999:9999
|
|
|
|
- 9999:9999
|
|
|
|
|
|
|
|
depends_on:
|
|
|
|
|
|
|
|
- jeecg-boot-nacos
|
|
|
|
|
|
|
|
- jeecg-boot-redis
|
|
|
|
container_name: jeecg-boot-gateway
|
|
|
|
container_name: jeecg-boot-gateway
|
|
|
|
hostname: jeecg-boot-gateway
|
|
|
|
hostname: jeecg-boot-gateway
|
|
|
|
|
|
|
|
|
|
|
@ -58,6 +73,14 @@ services:
|
|
|
|
environment:
|
|
|
|
environment:
|
|
|
|
- TZ=Asia/Shanghai
|
|
|
|
- TZ=Asia/Shanghai
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# jeecg-boot-xxljob:
|
|
|
|
|
|
|
|
# build:
|
|
|
|
|
|
|
|
# context: ./jeecg-cloud-xxljob
|
|
|
|
|
|
|
|
# ports:
|
|
|
|
|
|
|
|
# - 9080:9080
|
|
|
|
|
|
|
|
# container_name: jeecg-boot-xxljob
|
|
|
|
|
|
|
|
# hostname: jeecg-boot-xxljob
|
|
|
|
|
|
|
|
|
|
|
|
# jeecg-boot-rabbitmq:
|
|
|
|
# jeecg-boot-rabbitmq:
|
|
|
|
# # image: rabbitmq:3-management
|
|
|
|
# # image: rabbitmq:3-management
|
|
|
|
# image: rabbitmq:3
|
|
|
|
# image: rabbitmq:3
|
|
|
@ -67,11 +90,3 @@ services:
|
|
|
|
# restart: always
|
|
|
|
# restart: always
|
|
|
|
# container_name: jeecg-boot-rabbitmq
|
|
|
|
# container_name: jeecg-boot-rabbitmq
|
|
|
|
# hostname: jeecg-boot-rabbitmq
|
|
|
|
# hostname: jeecg-boot-rabbitmq
|
|
|
|
|
|
|
|
|
|
|
|
# jeecg-boot-xxljob:
|
|
|
|
|
|
|
|
# build:
|
|
|
|
|
|
|
|
# context: ./jeecg-cloud-xxljob
|
|
|
|
|
|
|
|
# ports:
|
|
|
|
|
|
|
|
# - 9080:9080
|
|
|
|
|
|
|
|
# container_name: jeecg-boot-xxljob
|
|
|
|
|
|
|
|
# hostname: jeecg-boot-xxljob
|
|
|
|
|