forked from apssouza22/java-microservice
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproxy-docker-compose.yml
More file actions
47 lines (42 loc) · 832 Bytes
/
proxy-docker-compose.yml
File metadata and controls
47 lines (42 loc) · 832 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
version: '2'
services:
config:
image: todo/config-server
ports:
- 8888:8888
networks:
- net
hostname: config
container_name: config
external_links:
- elk
- kafka
gateway:
image: todo/api-gateway
ports:
- 8018
networks:
- net
hostname: gateway
command: ["./wait-for-it.sh","config:8888","--timeout=50","--","/usr/local/bin/start.sh"]
external_links:
- elk
proxy:
build: proxy/
ports:
- 8055:80
networks:
- net
depends_on:
- gateway
hostname: proxy
container_name: proxy
command: ["./wait-for-it.sh","gateway:8018","--timeout=50","--","/usr/local/bin/start.sh"]
volumes:
todo_data:
external: true
todo_elk:
external: true
networks:
net:
driver: bridge