This commit is contained in:
CodeServer 2022-05-08 11:09:48 +01:00
parent dd6eb3da3e
commit ce28b62ce6
6 changed files with 14 additions and 1 deletions

2
.gitignore vendored
View File

@ -7,6 +7,8 @@
# misc
.DS_Store
/env
npm-debug.log*
yarn-debug.log*
yarn-error.log*

1
env/development.env vendored
View File

@ -1 +1,2 @@
ENV=dev
REACT_APP_REGISTRY_URL=https://registry.docker.cofan.cloud

2
examples/env/development.env vendored Normal file
View File

@ -0,0 +1,2 @@
ENV=dev
REACT_APP_REGISTRY_URL=https://registry.docker.cofan.cloud

2
examples/env/local.env vendored Normal file
View File

@ -0,0 +1,2 @@
ENV=local
REACT_APP_REGISTRY_URL=https://registry.docker.cofan.cloud

2
examples/env/production.env vendored Normal file
View File

@ -0,0 +1,2 @@
ENV=prod
REACT_APP_REGISTRY_URL=https://registry.docker.cofan.cloud

4
run
View File

@ -16,6 +16,10 @@ if [ $# -ne 0 ]; then
done
fi
# copy example production.env
cp example/env/production.env env/production.env
echo "===> ENV Variables ..."
env | sort