🐳 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: 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
@@ -149,7 +165,7 @@ services:
- 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"
@@ -174,7 +190,6 @@ services:
ports: ports:
- 9200:9200 - 9200:9200
networks: networks:
proxy: proxy:
external: true external: true
@@ -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>
), ),