-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.local.yml
72 lines (66 loc) · 1.66 KB
/
docker-compose.local.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
services:
redis:
image: redis
restart: always
ports:
- '6379:6379'
mongo:
image: mongo:latest
ports:
- '27017:27017'
volumes:
- mongo-data:/data/db
networks:
- eshop-orders-service-network
environment:
- MONGO_INITDB_DATABASE=orders_readable_db
# - MONGO_INITDB_ROOT_USERNAME=admin
# - MONGO_INITDB_ROOT_PASSWORD=password
postgres:
image: "postgres:latest"
environment:
- "POSTGRES_DB=orders_db"
- "POSTGRES_USER=local"
- "POSTGRES_PASSWORD=local"
ports:
- "5440:5432"
networks:
- eshop-orders-service-network
rabbitmq:
image: "rabbitmq:3-management"
environment:
RABBITMQ_DEFAULT_USER: local
RABBITMQ_DEFAULT_PASS: local
RABBITMQ_DEFAULT_VHOST: /
ports:
- "15672:15672"
- "5672:5672"
networks:
- eshop-orders-service-network
# volumes:
# - ./enabled_plugins:/etc/rabbitmq/enabled_plugins
# keycloak:
# image: quay.io/keycloak/keycloak
# environment:
# - KEYCLOAK_ADMIN=admin
# - KEYCLOAK_ADMIN_PASSWORD=admin
# ports:
# - 8443:8080
# command:
# - start-dev
# networks:
# - eshop-orders-service-network
# wiremock:
# image: "wiremock/wiremock:latest"
# ports:
# - 127.0.0.1:8080:8080
# volumes:
# - ./wiremock/__files:/home/wiremock/__files
# - ./wiremock/mappings:/home/wiremock/mappings
# entrypoint: ["/docker-entrypoint.sh", "--global-response-templating", "--disable-gzip", "--verbose"]
volumes:
mongo-data:
driver: local
networks:
eshop-orders-service-network:
name: eshop-orders-service-network