diff --git a/docker-compose.override.yml b/docker-compose.override.yml index 8d1bb96f2..d04249e8d 100644 --- a/docker-compose.override.yml +++ b/docker-compose.override.yml @@ -12,6 +12,8 @@ services: - NODE_ENV="development" # - DEBUG=true - NUXT_BUILD=/tmp/nuxt # avoid file permission issues when `rm -rf .nuxt/` + env_file: + - ./webapp/.env volumes: # This makes sure the docker container has its own node modules. # Therefore it is possible to have a different node version on the host machine @@ -29,6 +31,8 @@ services: environment: - NODE_ENV="development" - DEBUG=true + env_file: + - ./backend/.env volumes: # This makes sure the docker container has its own node modules. # Therefore it is possible to have a different node version on the host machine diff --git a/docker-compose.yml b/docker-compose.yml index 392447f61..2dc4f3c45 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -33,8 +33,6 @@ services: # Application only envs - HOST=0.0.0.0 # This is nuxt specific, alternative value is HOST=webapp - GRAPHQL_URI=http://backend:4000 - env_file: - - ./webapp/.env ######################################################## # BACKEND ############################################## @@ -66,8 +64,6 @@ services: - NEO4J_URI=bolt://neo4j:7687 - GRAPHQL_URI=http://backend:4000 - CLIENT_URI=http://webapp:3000 - env_file: - - ./backend/.env ######################################################## # NEO4J ################################################