🔧 Consolidated env files for services

This commit is contained in:
2021-11-07 16:32:54 -08:00
parent feb4bbc3b6
commit ab09335cfb
4 changed files with 17 additions and 18 deletions

View File

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