Skip to content

Commit

Permalink
Update images
Browse files Browse the repository at this point in the history
  • Loading branch information
ta264 committed Dec 1, 2020
1 parent 83ef3f0 commit 43cd193
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 33 deletions.
50 changes: 18 additions & 32 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,31 +5,27 @@ volumes:
driver: local
dbdump:
driver: local
searchdump:
driver: local
solrdata:
driver: local
rabbitdata:
driver: local
redisdata:
driver: local

networks:
lidarrmetadata:

services:
redis:
image: 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

networks:
- lidarrmetadata

db:
image: ta264/musicbrainz-postgres
image: ghcr.io/lidarr/mb-postgres:1.0.8
restart: unless-stopped

volumes:
Expand All @@ -38,15 +34,13 @@ services:
env_file:
- ./postgres.env

networks:
- lidarrmetadata

musicbrainz:
image: ta264/musicbrainz-server
image: ghcr.io/lidarr/mb-server:1.0.8
restart: unless-stopped

volumes:
- dbdump:/media/dbdump
- searchdump:/media/searchdump

env_file:
- ./postgres.env
Expand All @@ -55,34 +49,30 @@ services:
- db
- redis

networks:
- lidarrmetadata

solr:
image: ta264/musicbrainz-solr
search:
image: ghcr.io/lidarr/mb-solr:3.3.1.7
restart: unless-stopped

volumes:
- solrdata:/opt/solr/server/solr/data
- searchdump:/media/searchdump

networks:
- lidarrmetadata

sir:
build:
context: sir
indexer:
image: ghcr.io/lidarr/mb-sir:1.0.8
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
- solr
- search

networks:
- lidarrmetadata

rabbit:
image: rabbitmq:3.6
image: rabbitmq:3.8
restart: unless-stopped

volumes:
Expand All @@ -93,7 +83,3 @@ services:
environment:
RABBITMQ_DEFAULT_USER: "abc"
RABBITMQ_DEFAULT_PASS: "abc"

networks:
- lidarrmetadata

2 changes: 1 addition & 1 deletion sir/config.ini
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ user = abc
password = abc

[solr]
uri = http://solr:8983/solr
uri = http://search:8983/solr
batch_size = 60

[sir]
Expand Down

0 comments on commit 43cd193

Please sign in to comment.