-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
55 lines (49 loc) · 1.12 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
version: '2'
services:
app:
build: .
image: orihoch/mojp-dbs-back
volumes:
- ".data-docker/etc-bhs:/etc/bhs"
ports:
# http://localhost:18080/
- "18080:80"
# http://localhost:18081/v1/docs
- "18081:8081"
# this allows to use volumes_from which automatically mounts all volumes on this container
data:
image: tianon/true
volumes:
- ./.data-docker:/data
minio:
build: docker/minio
ports:
- "9000:9000"
volumes_from:
- data
command:
- server
- /data/minio
environment:
- MINIO_ACCESS_KEY
- MINIO_SECRET_KEY
minio-nginx:
build: docker/minio-nginx
ports:
- "9800:80"
pipelines:
build: docker/pipelines
ports:
- "5000:5000"
command:
- server
# we need access to elasticsearch proxy started from the host
network_mode: host
environment:
- S3_BUCKET_PREFIX=
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
# hard-coded to be used from the host network
- S3_ENDPOINT_URL=http://localhost:9000
- SITEMAP_ES_HOST
- SITEMAP_ES_INDEX