Revert "🔧 Consolidated env files for services"

This reverts commit ab09335cfb.
This commit is contained in:
2021-11-07 16:37:52 -08:00
parent ab09335cfb
commit e4750cea2f
4 changed files with 18 additions and 17 deletions

View File

@@ -1,7 +1,7 @@
LOGGER=true
LOGLEVEL=info
SERVICEDIR=dist/services
PWD=./
TRANSPORTER=nats://nats:4222
CACHER=Memory
COMICVINE_API_KEY=a5fa0663683df8145a85d694b5da4b87e1c92c69

View File

@@ -39,7 +39,8 @@ services:
- ${USERDATA_DIRECTORY}:/comicvine-service/userdata
environment:
SERVICES: api
env_file: services.env
COMICVINE_API_KEY: ${COMICVINE_API_KEY}
env_file: comicvine-service.env
depends_on:
- nats
networks:
@@ -55,7 +56,7 @@ services:
volumes:
- ${COMICS_DIRECTORY}:/comicvine-service/comics
- ${USERDATA_DIRECTORY}:/comicvine-service/userdata
env_file: services.env
env_file: comicvine-service.env
networks:
- proxy
@@ -69,10 +70,8 @@ services:
- "3001:3001"
environment:
SERVICES: api
MONGO_URI: mongodb://db:27017/threetwo
REDIS_URI: redis://redis:6379
CALIBRE_EBOOK_META_PATH: /opt/calibre/ebook-meta
env_file: services.env
COMICVINE_API_KEY: ${COMICVINE_API_KEY}
env_file: threetwo-import-service.env
volumes:
- ${USERDATA_DIRECTORY}:/threetwo-import-service/userdata
- ${COMICS_DIRECTORY}:/threetwo-import-service/comics
@@ -95,7 +94,7 @@ services:
volumes:
- ${USERDATA_DIRECTORY}:/threetwo-import-service/userdata
- ${COMICS_DIRECTORY}:/threetwo-import-service/comics
env_file: services.env
env_file: threetwo-import-service.env
networks:
- proxy
@@ -112,7 +111,7 @@ services:
- nats
environment:
SERVICES: imagetransformation
env_file: services.env
env_file: threetwo-import-service.env
networks:
- proxy
@@ -129,7 +128,7 @@ services:
- nats
environment:
SERVICES: libraryqueue
env_file: services.env
env_file: threetwo-import-service.env
networks:
- proxy

View File

@@ -1,7 +0,0 @@
LOGGER=true
LOGLEVEL=info
SERVICEDIR=dist/services
COMICVINE_API_KEY=a5fa0663683df8145a85d694b5da4b87e1c92c69
TRANSPORTER=nats://nats:4222
CACHER=Memory

View File

@@ -0,0 +1,9 @@
LOGGER=true
LOGLEVEL=info
SERVICEDIR=dist/services
MONGO_URI=mongodb://db:27017/threetwo
REDIS_URI=redis://redis:6379
TRANSPORTER=nats://nats:4222
CALIBRE_EBOOK_META_PATH=/opt/calibre/ebook-meta
CACHER=Memory