🏝Added env vars for service-specific env files
This commit is contained in:
@@ -37,6 +37,7 @@ services:
|
||||
volumes:
|
||||
- ${COMICS_DIRECTORY}:/comicvine-service/comics
|
||||
- ${USERDATA_DIRECTORY}:/comicvine-service/userdata
|
||||
- ${SERVICE_ENV_FILE}:/.env/service.env
|
||||
environment:
|
||||
SERVICES: api
|
||||
COMICVINE_API_KEY: ${COMICVINE_API_KEY}
|
||||
@@ -75,6 +76,7 @@ services:
|
||||
volumes:
|
||||
- ${USERDATA_DIRECTORY}:/threetwo-import-service/userdata
|
||||
- ${COMICS_DIRECTORY}:/threetwo-import-service/comics
|
||||
- ${SERVICE_ENV_FILE}:/.env/service.env
|
||||
depends_on:
|
||||
- nats
|
||||
- db
|
||||
|
||||
@@ -33,7 +33,7 @@ export const Dashboard = (): ReactElement => {
|
||||
{!isEmpty(recentComics) && !isEmpty(recentComics.docs) ? (
|
||||
<>
|
||||
<RecentlyImported comicBookCovers={recentComics} />
|
||||
{!isEmpty(volumeGroups) ? <VolumeGroups /> : null}
|
||||
{!isNil(volumeGroups) ? <VolumeGroups /> : null}
|
||||
</>
|
||||
) : (
|
||||
<ZeroState
|
||||
|
||||
Reference in New Issue
Block a user