mirror of
https://github.com/IT4Change/Ocelot-Social.git
synced 2025-12-13 07:45:56 +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
|
- name: Load Docker Image
|
||||||
run: docker load < /tmp/webapp.tar
|
run: docker load < /tmp/webapp.tar
|
||||||
##########################################################################
|
##########################################################################
|
||||||
# UNIT TESTS WEBAPP #####################################################
|
# UNIT TESTS WEBAPP ######################################################
|
||||||
##########################################################################
|
##########################################################################
|
||||||
- name: backend | copy env files webapp
|
- name: backend | copy env files webapp
|
||||||
run: cp webapp/.env.template webapp/.env
|
run: cp webapp/.env.template webapp/.env
|
||||||
|
|||||||
@ -12,8 +12,6 @@ services:
|
|||||||
- NODE_ENV="development"
|
- NODE_ENV="development"
|
||||||
# - DEBUG=true
|
# - DEBUG=true
|
||||||
- NUXT_BUILD=/tmp/nuxt # avoid file permission issues when `rm -rf .nuxt/`
|
- NUXT_BUILD=/tmp/nuxt # avoid file permission issues when `rm -rf .nuxt/`
|
||||||
env_file:
|
|
||||||
- ./webapp/.env
|
|
||||||
volumes:
|
volumes:
|
||||||
# This makes sure the docker container has its own node modules.
|
# 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
|
# Therefore it is possible to have a different node version on the host machine
|
||||||
@ -31,8 +29,6 @@ services:
|
|||||||
environment:
|
environment:
|
||||||
- NODE_ENV="development"
|
- NODE_ENV="development"
|
||||||
- DEBUG=true
|
- DEBUG=true
|
||||||
env_file:
|
|
||||||
- ./backend/.env
|
|
||||||
volumes:
|
volumes:
|
||||||
# This makes sure the docker container has its own node modules.
|
# 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
|
# Therefore it is possible to have a different node version on the host machine
|
||||||
|
|||||||
@ -10,8 +10,6 @@ services:
|
|||||||
target: test
|
target: test
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV="test"
|
- NODE_ENV="test"
|
||||||
env_file:
|
|
||||||
- ./webapp/.env
|
|
||||||
|
|
||||||
########################################################
|
########################################################
|
||||||
# BACKEND ##############################################
|
# BACKEND ##############################################
|
||||||
@ -22,8 +20,6 @@ services:
|
|||||||
target: test
|
target: test
|
||||||
environment:
|
environment:
|
||||||
- NODE_ENV="test"
|
- NODE_ENV="test"
|
||||||
env_file:
|
|
||||||
- ./backend/.env
|
|
||||||
|
|
||||||
########################################################
|
########################################################
|
||||||
# NEO4J ################################################
|
# NEO4J ################################################
|
||||||
|
|||||||
@ -33,6 +33,8 @@ services:
|
|||||||
# Application only envs
|
# Application only envs
|
||||||
- HOST=0.0.0.0 # This is nuxt specific, alternative value is HOST=webapp
|
- HOST=0.0.0.0 # This is nuxt specific, alternative value is HOST=webapp
|
||||||
- GRAPHQL_URI=http://backend:4000
|
- GRAPHQL_URI=http://backend:4000
|
||||||
|
env_file:
|
||||||
|
- ./webapp/.env
|
||||||
|
|
||||||
########################################################
|
########################################################
|
||||||
# BACKEND ##############################################
|
# BACKEND ##############################################
|
||||||
@ -64,6 +66,8 @@ services:
|
|||||||
- NEO4J_URI=bolt://neo4j:7687
|
- NEO4J_URI=bolt://neo4j:7687
|
||||||
- GRAPHQL_URI=http://backend:4000
|
- GRAPHQL_URI=http://backend:4000
|
||||||
- CLIENT_URI=http://webapp:3000
|
- CLIENT_URI=http://webapp:3000
|
||||||
|
env_file:
|
||||||
|
- ./backend/.env
|
||||||
|
|
||||||
########################################################
|
########################################################
|
||||||
# NEO4J ################################################
|
# NEO4J ################################################
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user