🐳 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

@@ -132,15 +132,31 @@ services:
networks:
- 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:
image: 'bitnami/mongodb:latest'
image: "bitnami/mongodb:latest"
container_name: database
networks:
- proxy
ports:
- "27017:27017"
volumes:
- 'mongodb_data:/bitnami/mongodb'
- "mongodb_data:/bitnami/mongodb"
nats:
image: nats:2
@@ -149,7 +165,7 @@ services:
- proxy
redis:
image: 'bitnami/redis:latest'
image: "bitnami/redis:latest"
container_name: queue
environment:
ALLOW_EMPTY_PASSWORD: "yes"
@@ -174,7 +190,6 @@ services:
ports:
- 9200:9200
networks:
proxy:
external: true
@@ -184,4 +199,3 @@ volumes:
driver: local
elasticsearch:
driver: local

View File

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