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
This is an example Docker app with multiple services. It is run with Docker Compose and uses Docker Networking to connect containers together. You will need Docker Compose 1.6 or later.
4
+
Getting started
5
+
---------------
5
6
6
-
More info at https://blog.docker.com/2015/11/docker-toolbox-compose/
7
+
Download [Docker for Mac or Windows](https://www.docker.com).
8
+
9
+
Run in this directory:
10
+
11
+
$ docker-compose up
12
+
13
+
The app will be running at [http://localhost:5000](http://localhost:5000), and the results will be at [http://localhost:5001](http://localhost:5001).
7
14
8
15
Architecture
9
16
-----
@@ -14,20 +21,3 @@ Architecture
14
21
* A Postgres database backed by a Docker volume
15
22
* A Node.js webapp which shows the results of the voting in real time
16
23
17
-
Running
18
-
-------
19
-
20
-
Run in this directory:
21
-
22
-
$ docker-compose up
23
-
24
-
The app will be running on port 5000 on your Docker host, and the results will be on port 5001.
25
-
26
-
Docker Hub images
27
-
-----------------
28
-
29
-
Docker Hub images for services in this app are built automatically from master:
0 commit comments