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
Copy file name to clipboardExpand all lines: README.md
+11-4Lines changed: 11 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,22 +10,29 @@ Example microservices implementation using Node.js and Docker. Below is an archi
10
10
11
11
In local development you can start the microservices by running
12
12
13
-
```sh
13
+
```console
14
14
$ docker-compose -f local-compose.yml up -d
15
15
```
16
16
17
-
Navigate to `http://localhost:10001` in your browser and you will see 3 charts. As data flows into the serializer from the various sensors you will start to see data appear on the charts in real-time.
17
+
Then scale up the frontend by a number of instances (3 in this case):
Navigate to `http://localhost` in your browser and you will see 3 charts. As data flows into the serializer from the various sensors you will start to see data appear on the charts in real-time.
18
24
19
25
To check that all of the local containers are running you can execute the `ps` command by running
20
-
```sh
26
+
27
+
```console
21
28
$ docker-compose -f local-compose.yml ps
22
29
```
23
30
24
31
### Production
25
32
26
33
When deploying to Triton, first setup your environment then run docker-compose. Below is an example of setting your environment variables then pushing the code to production.
0 commit comments