Skip to content

Commit 72ea919

Browse files
committed
Include @satvidh's fix from autopilotpattern#23
1 parent 4e4c168 commit 72ea919

1 file changed

Lines changed: 22 additions & 20 deletions

File tree

docker-compose.yml

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,22 @@
1-
nginx:
2-
build: nginx/
3-
ports:
4-
- "80:80"
5-
links:
6-
- consul:consul
7-
restart: always
8-
hello:
9-
build: hello/
10-
links:
11-
- consul:consul
12-
world:
13-
build: world/
14-
links:
15-
- consul:consul
16-
consul:
17-
image: consul:latest
18-
restart: always
19-
ports:
20-
- "8500:8500"
1+
version: "3"
2+
services:
3+
nginx:
4+
build: nginx/
5+
ports:
6+
- "80:80"
7+
links:
8+
- consul:consul
9+
restart: always
10+
hello:
11+
build: hello/
12+
links:
13+
- consul:consul
14+
world:
15+
build: world/
16+
links:
17+
- consul:consul
18+
consul:
19+
image: consul:latest
20+
restart: always
21+
ports:
22+
- "8500:8500"

0 commit comments

Comments
 (0)