添加smartide基础配置

This commit is contained in:
Lei Xu 2022-02-15 15:04:02 +08:00
parent 60b8842292
commit ecbb9d78ac
2 changed files with 34 additions and 0 deletions

1
.ide/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/.temp/

View File

@ -0,0 +1,33 @@
version: smartide/v0.1
orchestrator:
type: docker-compose
version: 3
workspace:
dev-container:
service-name: ruoyi-dev
ports:
webide: 6800
ssh: 6822
application: 3001
ide-type: vscode
volumes:
git-config: true
ssh-key: true
services:
ruoyi-dev:
image: registry.cn-hangzhou.aliyuncs.com/smartide/smartide-java-v2-vscode:2070
restart: always
environment:
ROOT_PASSWORD: root123
LOCAL_USER_PASSWORD: root123
ports:
- 3001:3001
- 6822:22
- 6800:3000
volumes:
- .:/home/project
networks:
- smartide-network
networks:
smartide-network:
external: true