-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yml
40 lines (39 loc) · 1019 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
version: "3.9"
services:
mongo_express:
image: "mongo-express:1.0.0-alpha.4"
restart: always
ports:
- "3001:8081"
networks:
- app-tier
mongo:
image: mongo
restart: always
environment:
- MONGO_INITDB_DATABASE=mockingbird
ports:
- "27017:27017"
networks:
- app-tier
migration:
image: mongo
networks:
- app-tier
volumes:
- ./backend/migrations/grpc-migration.js:/migrations/grpc-migration.js
command: mongosh mongo/mockingbird /migrations/grpc-migration.js
mock:
image: "ghcr.io/tinkoff/mockingbird:3.10.0-native"
ports:
- "8228:8228"
- "9000:9000"
volumes:
# Read the docs about secrets
- ./secrets.conf:/opt/mockingbird-native/conf/secrets.conf
networks:
- app-tier
command: -server -Xms256m -Xmx256m -XX:MaxDirectMemorySize=128m -Dconfig.file=/opt/mockingbird-native/qa.conf -Dlog.level=DEBUG -Dlog4j.formatMsgNoLookups=true
networks:
app-tier:
driver: bridge