-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathdocker-compose.yml
43 lines (43 loc) · 1.15 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
# start all external services for the metadatamanagement app
# mongo and elasticsearch will be available on its default ports
# docker-compose start
version: "3.10"
services:
mongodb:
image: mongo:latest
container_name: mongodb
environment:
- MONGO_DATA_DIR=/data/mongodb/data
- MONGO_LOG_DIR=/data/mongodb/logs
volumes:
- ./data/mongodb/db:/data/mongodb/db
- ./data/mongodb/logs:/data/mongodb/logs
command: mongod
ports:
- "27017:27017"
elasticsearch:
image: docker.elastic.co/elasticsearch/elasticsearch:7.12.1
container_name: elasticsearch
environment:
- discovery.type=single-node
# ensure group has rwx on this directory
volumes:
- ./data/elasticsearch/data:/usr/share/elasticsearch/data
ports:
- "9200:9200"
deploy:
resources:
limits:
memory: 1024m
maildev:
image: djfarrelly/maildev
container_name: maildev
# goto localhost:8081 for viewing mail sent via smtp
ports:
- "8081:80"
- "1025:25"
identity_provider:
image: sanduhrs/identity-provider
container_name: identity-provider
ports:
- "8082:80"