try without .env file in production composer file

This commit is contained in:
Ulf Gebhardt 2021-04-03 04:34:14 +02:00
parent f6c070a3cb
commit 742543b87a
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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 ################################################