-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
49 lines (48 loc) · 1008 Bytes
/
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
version: '3'
networks:
db:
microservice:
services:
mongo:
image: bitnami/mongodb:latest
container_name: reclame-aqui-db
environment:
MONGODB_DATABASE: reclame-aqui-db
MONGODB_USERNAME: root
MONGODB_PASSWORD: 7410
ports:
- "27017:27017"
networks:
- db
reclame-aqui-server:
image: reclame-aqui-server
ports:
- "8761:8761"
networks:
- microservice
reclame-aqui-api:
container_name: reclame-aqui-api
image: reclame-aqui-api
environment:
EUREKA_INSTANCE_HOSTNAME: reclame-aqui-server
depends_on:
- reclame-aqui-server
- mongo
ports:
- "8060:8060"
networks:
- microservice
- db
deploy:
mode: replicated
replicas: 2
reclame-aqui-zuul:
image: reclame-aqui-zuul
environment:
EUREKA_INSTANCE_HOSTNAME: reclame-aqui-server
depends_on:
- reclame-aqui-server
ports:
- "8080:8080"
networks:
- microservice