-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.yml
84 lines (76 loc) · 1.88 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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
version: '2'
services:
databaseinit:
build: ./DatabaseInit
image: "searchengine-databaseinit:${DB_INIT_RELEASE_TAG}"
volumes:
- "$PWD/DatabaseInit/dbinitstatus:/dbinitstatus"
environment:
COUCHDB_HOST: "couchdb"
depends_on:
- couchdb
networks:
senetwork:
aliases:
- databaseinit
# UI service defined in docker-compose.production.yml [PRODUCTION]
# UI service defined in docker-compose.override.yml [DEVELOPMENT]
getimagefromurl:
build: ./GetImageFromURL
image: "searchengine-getimagefromurl:${GETIMAGEFROMURL_RELEASE_TAG}"
restart: always
volumes:
- "$PWD/GetImageFromURL/tmp:/tmp"
networks:
senetwork:
aliases:
- getimagefromurl
getcontentfromurl:
build: ./GetContentFromURL
image: "searchengine-getcontentfromurl:${GETCONTENTFROMURL_RELEASE_TAG}"
restart: always
volumes:
- "$PWD/GetContentFromURL/tmp:/tmp"
networks:
senetwork:
aliases:
- getcontentfromurl
dbproxy:
build: ./DBProxy
image: "searchengine-dbproxy:${DBPROXY_RELEASE_TAG}"
restart: always
environment:
COUCHDB_HOST: "couchdb"
COUCHDB_PORT: 5984
IMAGE_HOST: "getimagefromurl"
CONTENT_HOST: "getcontentfromurl"
depends_on:
- couchdb
- couchdb-lucene
- getcontentfromurl
- getimagefromurl
networks:
senetwork:
aliases:
- dbproxy
couchdb:
build:
context: ./CouchDBLucene/
dockerfile: ./Dockerfile-couchdb
restart: always
volumes:
- "$PWD/CouchDBLucene/Data:/usr/local/var/lib/couchdb"
networks:
senetwork:
aliases:
- couchdb
couchdb-lucene:
image: klaemo/couchdb-lucene:latest
restart: always
networks:
senetwork:
aliases:
- couchdb-lucene
networks:
senetwork:
driver: bridge