🥅 Added network key to elasticsearch

This commit is contained in:
2022-03-31 00:28:46 -07:00
parent 9b9429c0d2
commit 050cb068a2

View File

@@ -4,7 +4,7 @@ x-userdata-volume:
&userdata-volume &userdata-volume
type: bind type: bind
source: ${USERDATA_DIRECTORY} source: ${USERDATA_DIRECTORY}
target: /userdata target: /userdata
x-comics-volume: x-comics-volume:
&comics-volume &comics-volume
@@ -14,7 +14,7 @@ x-comics-volume:
services: services:
threetwo: threetwo:
build: build:
context: https://github.com/rishighan/threetwo.git context: https://github.com/rishighan/threetwo.git
dockerfile: Dockerfile dockerfile: Dockerfile
image: frishi/threetwo image: frishi/threetwo
@@ -30,11 +30,9 @@ services:
- db - db
- elasticsearch - elasticsearch
- redis - redis
networks: networks:
- proxy - proxy
metadata-service: metadata-service:
build: build:
context: https://github.com/rishighan/threetwo-metadata-service.git context: https://github.com/rishighan/threetwo-metadata-service.git
@@ -47,7 +45,7 @@ services:
env_file: docker-compose.env env_file: docker-compose.env
depends_on: depends_on:
- redis - redis
volumes: volumes:
- *comics-volume - *comics-volume
- *userdata-volume - *userdata-volume
networks: networks:
@@ -69,10 +67,10 @@ services:
name: core-services name: core-services
SERVICES: api,library,importqueue,settings,search,imagetransformation SERVICES: api,library,importqueue,settings,search,imagetransformation
env_file: docker-compose.env env_file: docker-compose.env
volumes: volumes:
- *comics-volume - *comics-volume
- *userdata-volume - *userdata-volume
networks: networks:
- proxy - proxy
@@ -111,12 +109,13 @@ services:
hard: -1 hard: -1
ports: ports:
- 9200:9200 - 9200:9200
networks:
- proxy
networks: networks:
proxy: proxy:
external: true external: true
volumes: volumes:
mongodb_data: mongodb_data:
driver: local driver: local