From cd47ec5647da582acdc7e222ffeea6b7f365c5d9 Mon Sep 17 00:00:00 2001 From: Lei Xu Date: Tue, 15 Feb 2022 16:00:58 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B7=BB=E5=8A=A0jb-projector=E9=85=8D?= =?UTF-8?q?=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .ide/README.md | 4 +++ .ide/idea.ide.yaml | 74 ++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 78 insertions(+) create mode 100644 .ide/README.md create mode 100644 .ide/idea.ide.yaml diff --git a/.ide/README.md b/.ide/README.md new file mode 100644 index 000000000..dcde0fa05 --- /dev/null +++ b/.ide/README.md @@ -0,0 +1,4 @@ +## Build Sequence + +- ruoyi-common +- \ No newline at end of file diff --git a/.ide/idea.ide.yaml b/.ide/idea.ide.yaml new file mode 100644 index 000000000..ad6208d4a --- /dev/null +++ b/.ide/idea.ide.yaml @@ -0,0 +1,74 @@ +version: smartide/v0.1 +orchestrator: + type: docker-compose + version: 3 +workspace: + dev-container: + service-name: ruoyi-dev + ports: + webide: 6800 + ssh: 6822 + ruoyi-ui: 8000 + ruoyi-admin: 8080 + ide-type: jb-projector + volumes: + git-config: true + ssh-key: true + services: + ruoyi-dev: + image: registry.cn-hangzhou.aliyuncs.com/smartide/smartide-java-v2-jetbrains-idea:2021.2.3-openjdk-11-jdk-2081 + restart: always + environment: + ROOT_PASSWORD: root123 + LOCAL_USER_PASSWORD: root123 + ports: + - 8080:8080 + - 8000:80 + - 6822:22 + - 6800:8887 + volumes: + - .:/home/project + networks: + - ruoyi-dev-network + + ruoyi-db: + image: registry.cn-hangzhou.aliyuncs.com/boathouse/mysql:5.6 + command: + - --default-authentication-plugin=mysql_native_password + restart: always + expose: + - 3306 + ports: + - 3306:3306 + environment: + MYSQL_ROOT_PASSWORD: password + volumes: + - './.ide/.data/mysql-data:/var/lib/mysql' + networks: + - ruoyi-dev-network + + ruoyi-phpmyadmin: + image: registry.cn-hangzhou.aliyuncs.com/boathouse/phpmyadmin:5.0.4-apache + restart: always + expose: + - 8090 + ports: + - 8090:80 + environment: + PMA_ARBITRARY: "1" + networks: + - ruoyi-dev-network + + gruoyi-redis: + image: registry.cn-hangzhou.aliyuncs.com/smartide/redis:6.0.6 + container_name: gva-redis + restart: always + expose: + - 6379 + ports: + - "6379:6379" + networks: + - ruoyi-dev-network + networks: + ruoyi-dev-network: + external: true \ No newline at end of file