Skip to content
This repository was archived by the owner on Jul 18, 2024. It is now read-only.

Commit 046c57b

Browse files
committed
Update README
1 parent acdc80a commit 046c57b

1 file changed

Lines changed: 0 additions & 53 deletions

File tree

README.md

Lines changed: 0 additions & 53 deletions
Original file line numberDiff line numberDiff line change
@@ -60,59 +60,6 @@ The script replaces every instance of `169.47.241.213` in the files of your [cor
6060

6161
[Other usage for the script can be found here.](/scripts#replace_ip_-os-sh)
6262

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-
11663
# 2. Create Volumes in your Cluster
11764
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).
11865
```bash

0 commit comments

Comments
 (0)