🔄 Moved volume mapping to services from the API containers

This commit is contained in:
2021-11-08 12:22:34 -08:00
parent 9d6a43a7aa
commit b7ad2d1634

View File

@@ -37,7 +37,6 @@ 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
env_file: comicvine-service.env env_file: comicvine-service.env
@@ -56,6 +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
- ${SERVICE_ENV_FILE}:/.env/service.env
env_file: comicvine-service.env env_file: comicvine-service.env
networks: networks:
- proxy - proxy
@@ -74,7 +74,6 @@ 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
@@ -94,6 +93,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
env_file: threetwo-import-service.env env_file: threetwo-import-service.env
networks: networks:
- proxy - proxy