-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
docker-compose.yml
85 lines (65 loc) · 1.53 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
85
version: "3"
volumes:
pgdata:
driver: local
dbdump:
driver: local
searchdump:
driver: local
solrdata:
driver: local
rabbitdata:
driver: local
redisdata:
driver: local
services:
redis:
image: redis:6.0
command: redis-server /usr/local/etc/redis/redis.conf
restart: unless-stopped
volumes:
- redisdata:/data
- $PWD/redis.conf:/usr/local/etc/redis/redis.conf
db:
image: ghcr.io/lidarr/mb-postgres:1.0.10
restart: unless-stopped
volumes:
- pgdata:/var/lib/postgresql/data
env_file:
- ./postgres.env
musicbrainz:
image: ghcr.io/lidarr/mb-server:1.0.10
restart: unless-stopped
volumes:
- dbdump:/media/dbdump
- searchdump:/media/searchdump
env_file:
- ./postgres.env
depends_on:
- db
- redis
search:
image: ghcr.io/lidarr/mb-solr:3.3.1.9
restart: unless-stopped
volumes:
- solrdata:/opt/solr/server/solr/data
- searchdump:/media/searchdump
indexer:
image: ghcr.io/lidarr/mb-sir:1.0.10
restart: unless-stopped
entrypoint: python -m sir -d amqp_watch --entity-type artist --entity-type release-group
volumes:
- $PWD/sir/config.ini:/code/config.ini
depends_on:
- db
- rabbit
- search
rabbit:
image: rabbitmq:3.8
restart: unless-stopped
volumes:
- rabbitdata:/var/lib/rabbitmq/mnesia
hostname: rabbit
environment:
RABBITMQ_DEFAULT_USER: "abc"
RABBITMQ_DEFAULT_PASS: "abc"