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
First build & run the Docker Container of the FRI.
42
+
43
+
```
37
44
$ git pull
38
45
46
+
$ cd fri
47
+
39
48
$ docker build -t fri .
40
-
````
49
+
50
+
$ docker run -d --name fri -p 8090:8080 fri
51
+
```
41
52
42
53
# Running Control-Core FRI with Kong as containers
43
54
44
-
If you are already running FRI, make sure to stop and clear existing FRI container as it is likely conflict with the port. If there is Kong gateway running in default ports, stop and clear it too.
45
-
````
55
+
If you are already running FRI, make sure to stop and clear existing FRI containers as they will likely conflict with the port. If there is a Kong gateway running in default ports, stop and clear it too.
56
+
57
+
```
46
58
$ docker stop fri
47
59
$ docker rm fri
48
60
$ docker stop kong
49
61
$ docker rm kong
50
-
````
62
+
$ docker stop kong-database
63
+
$ docker rm kong-database
64
+
```
51
65
52
-
Start and configure Cassandra container for Kong API.
53
-
````
66
+
Start and configure PostgreSQL container for Kong API.
Delete if there is a previously configured Kong service. If not, skip this step. First you need to find the ID-VALUE for the route with a GET command before deleting the route and service.
95
-
````
96
-
$ curl -X GET "http://localhost:8001/services/fri/routes"
97
-
````
98
-
Use the ID output from above to issue the delete command as below (issue this only if you have a previous conflicting service definiton in kong. Otherwise, skip this step):
0 commit comments