-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Marvin
committed
May 4, 2021
1 parent
fff9cd9
commit aefd78c
Showing
11 changed files
with
110 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,41 @@ | ||
apiVersion: apps/v1 | ||
kind: Deployment | ||
metadata: | ||
labels: | ||
app: simple-user-center-server | ||
name: simple-user-center-server | ||
spec: | ||
replicas: 1 | ||
selector: | ||
matchLabels: | ||
app: simple-user-center-server | ||
template: | ||
metadata: | ||
labels: | ||
app: simple-user-center-server | ||
spec: | ||
containers: | ||
- env: | ||
- name: MYSQL | ||
value: "127.0.0.1" | ||
- name: MYSQL_PASSWORD | ||
value: "123456" | ||
- name: MYSQL_PORT | ||
value: '7000' | ||
- name: MYSQL_USER | ||
value: root | ||
- name: MYSQL_DATABASE_NAME | ||
value: b_simple_user_center | ||
- name: REDIS | ||
value: '127.0.0.1:6379' | ||
- name: REDIS_NAME | ||
value: 'user_token' | ||
- name: REDIS_POST | ||
value: '6380' | ||
- name: KAfKA | ||
value: '127.0.0.1:19090' | ||
image: canyuegongzi/simple-user-center-server:2.0 | ||
imagePullPolicy: IfNotPresent | ||
name: simple-user-center-server | ||
ports: | ||
- containerPort: 8881 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
apiVersion: v1 | ||
kind: Service | ||
metadata: | ||
labels: | ||
app: simple-user-center-server | ||
name: simple-user-center-server-service | ||
spec: | ||
type: LoadBalancer | ||
ports: | ||
- name: simple-user-center-server-port | ||
port: 8881 | ||
protocol: TCP | ||
targetPort: 8881 | ||
selector: | ||
app: simple-user-center-server |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
export const HELLO_TOPIC = 'hello.topic'; | ||
export const HELLO_FIXED_TOPIC = 'hello.fixed.topic'; | ||
export const TASK_PUSH_INFO = 'task.push.info' | ||
export const TASK_PUSH_INFO = 'task.push.info'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters