添加完整IDE配置
This commit is contained in:
parent
ecbb9d78ac
commit
1b372f7387
3
.ide/.gitignore
vendored
3
.ide/.gitignore
vendored
@ -1 +1,2 @@
|
|||||||
/.temp/
|
/.temp/
|
||||||
|
/.data/
|
@ -8,7 +8,8 @@ workspace:
|
|||||||
ports:
|
ports:
|
||||||
webide: 6800
|
webide: 6800
|
||||||
ssh: 6822
|
ssh: 6822
|
||||||
application: 3001
|
ruoyi-ui: 8000
|
||||||
|
ruoyi-admin: 8080
|
||||||
ide-type: vscode
|
ide-type: vscode
|
||||||
volumes:
|
volumes:
|
||||||
git-config: true
|
git-config: true
|
||||||
@ -21,13 +22,53 @@ workspace:
|
|||||||
ROOT_PASSWORD: root123
|
ROOT_PASSWORD: root123
|
||||||
LOCAL_USER_PASSWORD: root123
|
LOCAL_USER_PASSWORD: root123
|
||||||
ports:
|
ports:
|
||||||
- 3001:3001
|
- 8080:8080
|
||||||
|
- 8000:80
|
||||||
- 6822:22
|
- 6822:22
|
||||||
- 6800:3000
|
- 6800:3000
|
||||||
volumes:
|
volumes:
|
||||||
- .:/home/project
|
- .:/home/project
|
||||||
networks:
|
networks:
|
||||||
- smartide-network
|
- smartide-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:
|
||||||
|
- boathouse-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:
|
||||||
|
- boathouse-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:
|
||||||
|
- gva-dev-network
|
||||||
networks:
|
networks:
|
||||||
smartide-network:
|
smartide-network:
|
||||||
external: true
|
external: true
|
@ -6,7 +6,7 @@ spring:
|
|||||||
druid:
|
druid:
|
||||||
# 主库数据源
|
# 主库数据源
|
||||||
master:
|
master:
|
||||||
url: jdbc:mysql://localhost:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
url: jdbc:mysql://ruoyi-db:3306/ry-vue?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
|
||||||
username: root
|
username: root
|
||||||
password: password
|
password: password
|
||||||
# 从库数据源
|
# 从库数据源
|
||||||
|
@ -62,7 +62,7 @@ spring:
|
|||||||
# redis 配置
|
# redis 配置
|
||||||
redis:
|
redis:
|
||||||
# 地址
|
# 地址
|
||||||
host: localhost
|
host: gruoyi-redis
|
||||||
# 端口,默认为6379
|
# 端口,默认为6379
|
||||||
port: 6379
|
port: 6379
|
||||||
# 数据库索引
|
# 数据库索引
|
||||||
|
Loading…
x
Reference in New Issue
Block a user