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