正在显示
3 个修改的文件
包含
7 行增加
和
7 行删除
@@ -9,7 +9,7 @@ spec: | @@ -9,7 +9,7 @@ spec: | ||
9 | ports: | 9 | ports: |
10 | - name: "http" | 10 | - name: "http" |
11 | port: 80 | 11 | port: 80 |
12 | - targetPort: 8082 | 12 | + targetPort: 8084 |
13 | selector: | 13 | selector: |
14 | k8s-app: project | 14 | k8s-app: project |
15 | --- | 15 | --- |
@@ -47,7 +47,7 @@ spec: | @@ -47,7 +47,7 @@ spec: | ||
47 | image: 192.168.0.243:5000/mmm/project:dev | 47 | image: 192.168.0.243:5000/mmm/project:dev |
48 | imagePullPolicy: Always | 48 | imagePullPolicy: Always |
49 | ports: | 49 | ports: |
50 | - - containerPort: 8082 | 50 | + - containerPort: 8084 |
51 | volumeMounts: | 51 | volumeMounts: |
52 | - mountPath: /opt/logs | 52 | - mountPath: /opt/logs |
53 | name: accesslogs | 53 | name: accesslogs |
@@ -2,11 +2,11 @@ package constant | @@ -2,11 +2,11 @@ package constant | ||
2 | 2 | ||
3 | import "os" | 3 | import "os" |
4 | 4 | ||
5 | -var POSTGRESQL_DB_NAME = "allied-creation-basic" | 5 | +var POSTGRESQL_DB_NAME = "allied_creation_basic_dev" |
6 | var POSTGRESQL_USER = "postgres" | 6 | var POSTGRESQL_USER = "postgres" |
7 | -var POSTGRESQL_PASSWORD = "123456" | ||
8 | -var POSTGRESQL_HOST = "127.0.0.1" | ||
9 | -var POSTGRESQL_PORT = "5432" | 7 | +var POSTGRESQL_PASSWORD = "eagle1010" |
8 | +var POSTGRESQL_HOST = "114.55.200.59" | ||
9 | +var POSTGRESQL_PORT = "31543" | ||
10 | var DISABLE_CREATE_TABLE = false | 10 | var DISABLE_CREATE_TABLE = false |
11 | var DISABLE_SQL_GENERATE_PRINT = false | 11 | var DISABLE_SQL_GENERATE_PRINT = false |
12 | 12 |
@@ -17,7 +17,7 @@ func init() { | @@ -17,7 +17,7 @@ func init() { | ||
17 | web.BConfig.AppName = "project" | 17 | web.BConfig.AppName = "project" |
18 | web.BConfig.CopyRequestBody = true | 18 | web.BConfig.CopyRequestBody = true |
19 | web.BConfig.RunMode = "dev" | 19 | web.BConfig.RunMode = "dev" |
20 | - web.BConfig.Listen.HTTPPort = 8080 | 20 | + web.BConfig.Listen.HTTPPort = 8084 |
21 | web.BConfig.Listen.EnableAdmin = false | 21 | web.BConfig.Listen.EnableAdmin = false |
22 | web.BConfig.WebConfig.CommentRouterPath = "/pkg/port/beego" | 22 | web.BConfig.WebConfig.CommentRouterPath = "/pkg/port/beego" |
23 | if os.Getenv("RUN_MODE") != "" { | 23 | if os.Getenv("RUN_MODE") != "" { |
-
请 注册 或 登录 后发表评论