摘要:
前提: 1、依赖mysql数据库,需要先安装好数据库; 2、创建数据库名:nacos,并且执行初始化数据表(文章后 nacos-init.sql) 3、编写docker-compose.yml version: '3'services: nacos: image: nacos/nacos-serve 阅读全文
摘要:
创建docker-compose.yml version: '3'services: mysql: image: mysql restart: always container_name: mysql environment: MYSQL_ROOT_PASSWORD: pass@123!(此处是数据 阅读全文
摘要:
1、编写docker-compose.yml version: "3.1"services: redis: image: redis:4 restart: always command: redis-server /usr/local/redis/redis.conf ports: - 6379:6 阅读全文