|
@@ -15,7 +15,7 @@ npm run start
|
|
|
```
|
|
|
|
|
|
|
|
|
-## 生产环境
|
|
|
+## 线上开发环境
|
|
|
- 服务器
|
|
|
- root@8.140.98.43
|
|
|
- 数据库
|
|
@@ -26,6 +26,35 @@ npm run start
|
|
|
ALTER USER postgres WITH PASSWORD 'Edu2024textbask';
|
|
|
```
|
|
|
|
|
|
+## 线上生产环境
|
|
|
+
|
|
|
+
|
|
|
+-- 生产用户
|
|
|
+psql --dbname=postgresql://textbook:Edu2024textbask@pgm-2zehqf5x28989whc.pg.rds.aliyuncs.com:5432/textbook
|
|
|
+
|
|
|
+CREATE DATABASE textbook;
|
|
|
+CREATE USER textbook WITH PASSWORD 'Edu2024textbask';
|
|
|
+GRANT ALL PRIVILEGES ON DATABASE textbook TO textbook;
|
|
|
+GRANT ALL PRIVILEGES ON SCHEMA public TO textbook;
|
|
|
+
|
|
|
+--rds-- PostgreSQL
|
|
|
+
|
|
|
+psql --dbname=postgresql://admin_user@pgm-2zehqf5x28989whc.pg.rds.aliyuncs.com:5432/
|
|
|
+
|
|
|
+实例ID: pgm-2zehqf5x28989whc
|
|
|
+内网地址:pgm-2zehqf5x28989whc.pg.rds.aliyuncs.com
|
|
|
+公网地址:pgm-2zehqf5x28989whc1o.pg.rds.aliyuncs.com
|
|
|
+高权限账号:admin_user 密码:DCG!MfwW7fpvA
|
|
|
+----注意高权限账号建库建表后要回收,给普通权限账号----
|
|
|
+
|
|
|
+---oss---
|
|
|
+Bucket: hep-textbook
|
|
|
+用户登录名称 hep-textbook-api@cloudhep.onaliyun.com
|
|
|
+AccessKey ID: LTAI5t6AbTiAvXmeoVdJZhL3
|
|
|
+AccessKey Secret: KLtQRdIW69KLP7jnzHNUf7eKmdptxH
|
|
|
+内网地址:oss-cn-beijing.aliyuncs.com
|
|
|
+外网地址:oss-cn-beijing-internal.aliyuncs.com
|
|
|
+
|
|
|
## Authing 用户服务
|
|
|
### 管理员
|
|
|
https://lljydpt8egql.u2-dev.hep.com.cn/
|