forked from metabrainz/musicbrainz-docker
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
57 lines (51 loc) · 1000 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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
version: '2'
volumes:
pgdata:
driver: local
indexdata:
driver: local
dbdump:
driver: local
services:
db:
build: postgres-dockerfile
restart: unless-stopped
env_file:
- ./postgres-dockerfile/postgres.env
volumes:
- pgdata:/var/lib/postgresql/data
expose:
- "5432"
musicbrainz:
build: musicbrainz-dockerfile
ports:
- "5000:5000"
volumes:
- dbdump:/media/dbdump
restart: unless-stopped
env_file:
- ./postgres-dockerfile/postgres.env
environment:
- MUSICBRAINZ_USE_PROXY=1
depends_on:
- db
- search
- redis
indexer:
build: indexer-dockerfile
depends_on:
- db
volumes:
- indexdata:/home/search/indexdata
search:
build: search-dockerfile
restart: unless-stopped
ports:
- "8080:8080"
volumes:
- indexdata:/home/search/indexdata
redis:
image: redis:3.2.1
restart: unless-stopped
expose:
- "6379"