🐳 Added docker-compose definition for settings service

This commit is contained in:
2021-11-23 18:36:48 -08:00
parent 84f242184e
commit 5374f38b62
2 changed files with 35 additions and 21 deletions

View File

@@ -51,7 +51,7 @@ services:
image: frishi/comicvine-service image: frishi/comicvine-service
container_name: comicvine-service container_name: comicvine-service
environment: environment:
SERVICES: comicvine SERVICES: comicvine
volumes: volumes:
- ${COMICS_DIRECTORY}:/comicvine-service/comics - ${COMICS_DIRECTORY}:/comicvine-service/comics
- ${USERDATA_DIRECTORY}:/comicvine-service/userdata - ${USERDATA_DIRECTORY}:/comicvine-service/userdata
@@ -59,7 +59,7 @@ services:
env_file: comicvine-service.env env_file: comicvine-service.env
networks: networks:
- proxy - proxy
importapi: importapi:
build: build:
context: https://github.com/rishighan/threetwo-import-service.git context: https://github.com/rishighan/threetwo-import-service.git
@@ -79,17 +79,17 @@ services:
- db - db
networks: networks:
- proxy - proxy
import: import:
build: build:
context: https://github.com/rishighan/threetwo-import-service.git context: https://github.com/rishighan/threetwo-import-service.git
image: frishi/threetwo-import-service image: frishi/threetwo-import-service
container_name: import container_name: import
depends_on: depends_on:
- db - db
- nats - nats
environment: environment:
SERVICES: import SERVICES: import
volumes: volumes:
- ${USERDATA_DIRECTORY}:/threetwo-import-service/userdata - ${USERDATA_DIRECTORY}:/threetwo-import-service/userdata
- ${COMICS_DIRECTORY}:/threetwo-import-service/comics - ${COMICS_DIRECTORY}:/threetwo-import-service/comics
@@ -97,7 +97,7 @@ services:
env_file: threetwo-import-service.env env_file: threetwo-import-service.env
networks: networks:
- proxy - proxy
imagetransformation: imagetransformation:
build: build:
context: https://github.com/rishighan/threetwo-import-service.git context: https://github.com/rishighan/threetwo-import-service.git
@@ -106,15 +106,15 @@ services:
volumes: volumes:
- ${USERDATA_DIRECTORY}:/threetwo-import-service/userdata - ${USERDATA_DIRECTORY}:/threetwo-import-service/userdata
- ${COMICS_DIRECTORY}:/threetwo-import-service/comics - ${COMICS_DIRECTORY}:/threetwo-import-service/comics
depends_on: depends_on:
- db - db
- nats - nats
environment: environment:
SERVICES: imagetransformation SERVICES: imagetransformation
env_file: threetwo-import-service.env env_file: threetwo-import-service.env
networks: networks:
- proxy - proxy
libraryqueue: libraryqueue:
build: build:
context: https://github.com/rishighan/threetwo-import-service.git context: https://github.com/rishighan/threetwo-import-service.git
@@ -123,33 +123,49 @@ services:
volumes: volumes:
- ${USERDATA_DIRECTORY}:/threetwo-import-service/userdata - ${USERDATA_DIRECTORY}:/threetwo-import-service/userdata
- ${COMICS_DIRECTORY}:/threetwo-import-service/comics - ${COMICS_DIRECTORY}:/threetwo-import-service/comics
depends_on: depends_on:
- db - db
- nats - nats
environment: environment:
SERVICES: libraryqueue SERVICES: libraryqueue
env_file: threetwo-import-service.env env_file: threetwo-import-service.env
networks: networks:
- proxy - proxy
settings:
build:
context: https://github.com/rishighan/threetwo-import-service.git
image: frishi/threetwo-import-service
container_name: settings
volumes:
- ${USERDATA_DIRECTORY}:/threetwo-import-service/userdata
- ${COMICS_DIRECTORY}:/threetwo-import-service/comics
depends_on:
- db
- nats
environment:
SERVICES: settings
env_file: threetwo-import-service.env
networks:
- proxy
db: db:
image: 'bitnami/mongodb:latest' image: "bitnami/mongodb:latest"
container_name: database container_name: database
networks: networks:
- proxy - proxy
ports: ports:
- "27017:27017" - "27017:27017"
volumes: volumes:
- 'mongodb_data:/bitnami/mongodb' - "mongodb_data:/bitnami/mongodb"
nats: nats:
image: nats:2 image: nats:2
container_name: transporter container_name: transporter
networks: networks:
- proxy - proxy
redis: redis:
image: 'bitnami/redis:latest' image: "bitnami/redis:latest"
container_name: queue container_name: queue
environment: environment:
ALLOW_EMPTY_PASSWORD: "yes" ALLOW_EMPTY_PASSWORD: "yes"
@@ -173,7 +189,6 @@ services:
hard: -1 hard: -1
ports: ports:
- 9200:9200 - 9200:9200
networks: networks:
proxy: proxy:
@@ -184,4 +199,3 @@ volumes:
driver: local driver: local
elasticsearch: elasticsearch:
driver: local driver: local

View File

@@ -127,10 +127,10 @@ export const AcquisitionPanel = (
<div className="content"> <div className="content">
<dl> <dl>
<dt> <dt>
<div className="tags"> <div className="tags mb-1">
{userSettings.directConnect.client.hubs.map( {userSettings.directConnect.client.hubs.map(
({ value }) => ( ({ value }) => (
<span className="tag" key={value}> <span className="tag is-warning" key={value}>
{value} {value}
</span> </span>
), ),