mirror of
https://github.com/Ocelot-Social-Community/Ocelot-Social.git
synced 2025-12-12 23:35:58 +00:00
.env is required no way around it
This commit is contained in:
parent
c418cb1b50
commit
d40704dcb6
2
.github/workflows/test.yml
vendored
2
.github/workflows/test.yml
vendored
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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 ################################################
|
||||
|
||||
@ -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 ################################################
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user