代码拉取完成,页面将自动刷新
同步操作将从 JVS/jvs 强制同步,此操作会覆盖自 Fork 仓库以来所做的任何修改,且无法恢复!!!
确定后同步将在后台操作,完成时将刷新页面,请耐心等待。
version: '3'
services:
jvs-mysql:
image: mysql:5.7
container_name: jvs-mysql
volumes:
- ./data/mysql/:/var/lib/mysql
- ./mysql:/docker-entrypoint-initdb.d
# 挂载配置文件目录
environment:
- MYSQL_ROOT_PASSWORD=root
- MYSQL_ROOT_HOST=%
- TZ=Asia/Shanghai
ports:
- "3306:3306"
restart: always
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --lower_case_table_names=1 --max_connections=1024
networks:
- jvs
jvs-nacos:
image: nacos/nacos-server:2.0.0
container_name: jvs-nacos
environment:
- MODE=standalone
- MYSQL_SERVICE_DB_NAME=nacos
- MYSQL_SERVICE_HOST=jvs-mysql
- MYSQL_SERVICE_PASSWORD=root
- MYSQL_SERVICE_PORT=3306
- MYSQL_SERVICE_USER=root
- NACOS_APPLICATION_PORT=8848
- PREFER_HOST_MODE=hostname
- SPRING_DATASOURCE_PLATFORM=mysql
restart: always
ports:
- "8848:8848"
networks:
- jvs
jvs-minio:
image: minio/minio
container_name: jvs-minio
environment:
- MINIO_ROOT_USER=miniominio
- MINIO_ROOT_PASSWORD=miniominio
volumes:
- ./data/minio/:/data
ports:
- 9000:9000
- 9001:9001
command: server /data --console-address ':9001'
networks:
- jvs
jvs-redis:
container_name: jvs-redis
image: redis:5.0.8
restart: always
ports:
- 6379:6379
networks:
- jvs
elasticsearch:
container_name: elasticsearch
image: elasticsearch:7.4.2
restart: always
environment:
- discovery.type=single-node
volumes:
- ./data/elasticsearch/:/usr/share/elasticsearch/data
ports:
- 9200:9200
- 9300:9300
networks:
- jvs
gateway:
build:
context: ./jvs-gateway-parent/jvs-gateway
restart: always
container_name: gateway
image: gateway
volumes:
- ./data/nacos/:/root/nacos/config
ports:
- 10000:10000
networks:
- jvs
jvs-auth-mgr:
build:
context: ./jvs-auth-parent/jvs-auth-mgr
restart: always
image: jvs-auth-mgr
container_name: jvs-auth-mgr
volumes:
- ./data/nacos/:/root/nacos/config
networks:
- jvs
jvs-auth:
build:
context: ./jvs-auth-parent/jvs-auth
restart: always
image: jvs-auth
container_name: jvs-auth
volumes:
- ./data/nacos/:/root/nacos/config
networks:
- jvs
jvs-apply-document:
build:
context: ./jvs-apply/jvs-apply-document/document-mgr
restart: always
volumes:
- ./data/nacos/:/root/nacos/config
image: jvs-apply-document
container_name: jvs-apply-document
networks:
- jvs
#桥接网络
networks:
jvs:
driver: bridge
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。