From 97648e46a2cd9f53e762420eacbf51ae0041ec4a Mon Sep 17 00:00:00 2001 From: Arie Peterson <arie@greenhost.nl> Date: Tue, 25 Oct 2022 14:03:10 +0200 Subject: [PATCH] Move local.env to frontend dir --- .gitignore | 2 +- README.md | 2 +- docker-compose.yml | 2 +- local.env.example => frontend/local.env.example | 0 4 files changed, 3 insertions(+), 3 deletions(-) rename local.env.example => frontend/local.env.example (100%) diff --git a/.gitignore b/.gitignore index 8ace5268..02eaabaf 100644 --- a/.gitignore +++ b/.gitignore @@ -12,7 +12,7 @@ /build # local environment -/local.env +/frontend/local.env # misc .DS_Store diff --git a/README.md b/README.md index 93e2f2bd..58babdfc 100644 --- a/README.md +++ b/README.md @@ -86,7 +86,7 @@ into Stackspin applications that run on the cluster. #### 2. Environment for frontend The frontend needs to know where the backend API and hydra can be reached. To -configure it, create a `local.env` file in the project root directory: +configure it, create a `local.env` file in the `frontend` directory: cp local.env.example local.env diff --git a/docker-compose.yml b/docker-compose.yml index 3efeb435..ee050b18 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,7 +4,7 @@ services: build: context: ./frontend working_dir: "/home/node/app" - env_file: local.env + env_file: ./frontend/local.env ports: - "3000:3000" # command: "yarn start" diff --git a/local.env.example b/frontend/local.env.example similarity index 100% rename from local.env.example rename to frontend/local.env.example -- GitLab