🔧 Consolidated env files for services
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
LOGGER=true
|
LOGGER=true
|
||||||
LOGLEVEL=info
|
LOGLEVEL=info
|
||||||
SERVICEDIR=dist/services
|
SERVICEDIR=dist/services
|
||||||
PWD=./
|
|
||||||
TRANSPORTER=nats://nats:4222
|
TRANSPORTER=nats://nats:4222
|
||||||
CACHER=Memory
|
CACHER=Memory
|
||||||
|
COMICVINE_API_KEY=a5fa0663683df8145a85d694b5da4b87e1c92c69
|
||||||
|
|
||||||
|
|||||||
@@ -39,8 +39,7 @@ services:
|
|||||||
- ${USERDATA_DIRECTORY}:/comicvine-service/userdata
|
- ${USERDATA_DIRECTORY}:/comicvine-service/userdata
|
||||||
environment:
|
environment:
|
||||||
SERVICES: api
|
SERVICES: api
|
||||||
COMICVINE_API_KEY: ${COMICVINE_API_KEY}
|
env_file: services.env
|
||||||
env_file: comicvine-service.env
|
|
||||||
depends_on:
|
depends_on:
|
||||||
- nats
|
- nats
|
||||||
networks:
|
networks:
|
||||||
@@ -56,7 +55,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ${COMICS_DIRECTORY}:/comicvine-service/comics
|
- ${COMICS_DIRECTORY}:/comicvine-service/comics
|
||||||
- ${USERDATA_DIRECTORY}:/comicvine-service/userdata
|
- ${USERDATA_DIRECTORY}:/comicvine-service/userdata
|
||||||
env_file: comicvine-service.env
|
env_file: services.env
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
|
|
||||||
@@ -70,8 +69,10 @@ services:
|
|||||||
- "3001:3001"
|
- "3001:3001"
|
||||||
environment:
|
environment:
|
||||||
SERVICES: api
|
SERVICES: api
|
||||||
COMICVINE_API_KEY: ${COMICVINE_API_KEY}
|
MONGO_URI: mongodb://db:27017/threetwo
|
||||||
env_file: threetwo-import-service.env
|
REDIS_URI: redis://redis:6379
|
||||||
|
CALIBRE_EBOOK_META_PATH: /opt/calibre/ebook-meta
|
||||||
|
env_file: services.env
|
||||||
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
|
||||||
@@ -94,7 +95,7 @@ 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
|
||||||
env_file: threetwo-import-service.env
|
env_file: services.env
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
|
|
||||||
@@ -111,7 +112,7 @@ services:
|
|||||||
- nats
|
- nats
|
||||||
environment:
|
environment:
|
||||||
SERVICES: imagetransformation
|
SERVICES: imagetransformation
|
||||||
env_file: threetwo-import-service.env
|
env_file: services.env
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
|
|
||||||
@@ -128,7 +129,7 @@ services:
|
|||||||
- nats
|
- nats
|
||||||
environment:
|
environment:
|
||||||
SERVICES: libraryqueue
|
SERVICES: libraryqueue
|
||||||
env_file: threetwo-import-service.env
|
env_file: services.env
|
||||||
networks:
|
networks:
|
||||||
- proxy
|
- proxy
|
||||||
|
|
||||||
|
|||||||
7
services.env
Normal file
7
services.env
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
LOGGER=true
|
||||||
|
LOGLEVEL=info
|
||||||
|
SERVICEDIR=dist/services
|
||||||
|
COMICVINE_API_KEY=a5fa0663683df8145a85d694b5da4b87e1c92c69
|
||||||
|
TRANSPORTER=nats://nats:4222
|
||||||
|
CACHER=Memory
|
||||||
|
|
||||||
@@ -1,9 +0,0 @@
|
|||||||
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
|
|
||||||
|
|
||||||
Reference in New Issue
Block a user