-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
76 lines (69 loc) · 1.81 KB
/
docker-compose.yml
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
version: '2.4'
services:
uaa:
image: mariobros/uaa:0.0.3-SNAPSHOT
restart: always
ports:
- 8090:8090
redis:
image: redis:5-alpine
restart: always
command: redis-server --requirepass ${REDIS_PASSWORD}
ports:
- 6379:6379
redis-commander:
image: rediscommander/redis-commander:latest
restart: always
environment:
REDIS_HOST: ${REDIS_HOSTNAME}
REDIS_PORT: ${REDIS_PORT}
REDIS_PASSWORD: ${REDIS_PASSWORD}
ports:
- 16379:8081
depends_on:
- redis
eureka-discovery-service:
image: mariobros/eureka-discovery-service:0.0.3-SNAPSHOT
restart: always
ports:
- 8761:8761
config-server:
environment:
EUREKA_DISCOVERY_SERVICE_HOSTNAME: ${EUREKA_DISCOVERY_SERVICE_HOSTNAME}
image: mariobros/config-server:0.0.3-SNAPSHOT
restart: always
depends_on:
eureka-discovery-service:
condition: service_healthy
ports:
- 8888:8888
admin-server:
environment:
EUREKA_DISCOVERY_SERVICE_HOSTNAME: ${EUREKA_DISCOVERY_SERVICE_HOSTNAME}
image: mariobros/admin-server:0.0.3-SNAPSHOT
restart: always
depends_on:
config-server:
condition: service_healthy
ports:
- 9000:9000
zuul-gateway-service:
environment:
EUREKA_DISCOVERY_SERVICE_HOSTNAME: ${EUREKA_DISCOVERY_SERVICE_HOSTNAME}
image: mariobros/zuul-gateway-service:0.0.3-SNAPSHOT
restart: always
depends_on:
config-server:
condition: service_healthy
ports:
- 8765:8765
user-management-service:
environment:
EUREKA_DISCOVERY_SERVICE_HOSTNAME: ${EUREKA_DISCOVERY_SERVICE_HOSTNAME}
image: mariobros/user-management-service:0.0.3-SNAPSHOT
restart: always
depends_on:
config-server:
condition: service_healthy
ports:
- 8080:8080