You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jul 18, 2024. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
-53Lines changed: 0 additions & 53 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -60,59 +60,6 @@ The script replaces every instance of `169.47.241.213` in the files of your [cor
60
60
61
61
[Other usage for the script can be found here.](/scripts#replace_ip_-os-sh)
62
62
63
-
<details>
64
-
65
-
<summary>Or alternatively:</summary>
66
-
Get the Public IP address of your cluster.
67
-
68
-
```bash
69
-
$ kubectl get nodes
70
-
NAME STATUS AGE
71
-
169.xx.xxx.xxx Ready 13d
72
-
```
73
-
Take note of the IP address. Go to the **core** folder and change the following values on the environment variables of the container **on every file** to the IP address you have. Maintain the port number.
74
-
> Example:
75
-
> ...
76
-
> value : https://169.47.241.yyy:30443/players/v1/accounts**TO ->** value : https://169.xx.xxx.xxx:30443/players/v1/accounts
77
-
> ...
78
-
79
-
```yaml
80
-
Core yaml files should look like this. Change the following env variables
81
-
spec:
82
-
containers:
83
-
- image: gameontext/gameon-*
84
-
name: *
85
-
env:
86
-
...
87
-
- name: FRONT_END_PLAYER_URL
88
-
value : https://169.47.241.213:30443/players/v1/accounts
89
-
- name: FRONT_END_SUCCESS_CALLBACK
90
-
value : https://169.47.241.213:30443/#/login/callback
91
-
- name: FRONT_END_FAIL_CALLBACK
92
-
value : https://169.47.241.213:30443/#/game
93
-
- name: FRONT_END_AUTH_URL
94
-
value : https://169.47.241.213:30443/auth
95
-
...
96
-
- name: PROXY_DOCKER_HOST
97
-
value : '169.47.241.213'
98
-
...
99
-
```
100
-
```yaml
101
-
setup.yaml
102
-
...
103
-
spec:
104
-
restartPolicy: Never
105
-
containers:
106
-
- name: setup
107
-
image: anthonyamanse/keystore
108
-
env:
109
-
- name: IP
110
-
value: 169.47.241.137
111
-
...
112
-
```
113
-
114
-
</details>
115
-
116
63
# 2. Create Volumes in your Cluster
117
64
You would need to create a volume for your cluster. You can use the provided yaml file. The required keystores will be stored in this volume. The volume will also be used by the [core services](#core-microservices).
0 commit comments