.env is required no way around it

This commit is contained in:
Ulf Gebhardt 2021-04-03 05:41:58 +02:00
parent c418cb1b50
commit d40704dcb6
No known key found for this signature in database
GPG Key ID: 81308EFE29ABFEBD
4 changed files with 5 additions and 9 deletions

View File

@ -229,7 +229,7 @@ jobs:
- name: Load Docker Image
run: docker load < /tmp/webapp.tar
##########################################################################
# UNIT TESTS WEBAPP #####################################################
# UNIT TESTS WEBAPP ######################################################
##########################################################################
- name: backend | copy env files webapp
run: cp webapp/.env.template webapp/.env

View File

@ -12,8 +12,6 @@ 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
@ -31,8 +29,6 @@ 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

@ -10,8 +10,6 @@ services:
target: test
environment:
- NODE_ENV="test"
env_file:
- ./webapp/.env
########################################################
# BACKEND ##############################################
@ -22,8 +20,6 @@ services:
target: test
environment:
- NODE_ENV="test"
env_file:
- ./backend/.env
########################################################
# NEO4J ################################################

View File

@ -33,6 +33,8 @@ 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 ##############################################
@ -64,6 +66,8 @@ services:
- NEO4J_URI=bolt://neo4j:7687
- GRAPHQL_URI=http://backend:4000
- CLIENT_URI=http://webapp:3000
env_file:
- ./backend/.env
########################################################
# NEO4J ################################################