Attempt to fix environment mess
This commit is contained in:
@@ -0,0 +1,13 @@
|
|||||||
|
APP_PORT=8091
|
||||||
|
ESLINT_NO_DEV_ERRORS=true
|
||||||
|
PANEL_URL=https://qa-panel.mermsemr.com
|
||||||
|
|
||||||
|
# auth routes
|
||||||
|
NEXT_PUBLIC_LOGIN_URL=https://qa-panel.mermsemr.com
|
||||||
|
NEXT_PUBLIC_SIGNUP_URL=https://qa-panel.mermsemr.com/auth/signup
|
||||||
|
|
||||||
|
# social links
|
||||||
|
NEXT_PUBLIC_FACEBOOK_URL=https://www.facebook.com/people/Mermsemr/100066498622246/
|
||||||
|
NEXT_PUBLIC_TWITTER_URL=#
|
||||||
|
NEXT_PUBLIC_INSTAGRAM_URL=#
|
||||||
|
NEXT_PUBLIC_YOUTUBE_URL=#
|
||||||
@@ -20,5 +20,7 @@ services:
|
|||||||
- backend.wrenchboard.api.test:10.10.33.15
|
- backend.wrenchboard.api.test:10.10.33.15
|
||||||
tty: true
|
tty: true
|
||||||
stdin_open: true
|
stdin_open: true
|
||||||
|
environment:
|
||||||
|
- NODE_ENV=${NODE_ENV:-test}
|
||||||
volumes:
|
volumes:
|
||||||
src:
|
src:
|
||||||
|
|||||||
@@ -1,6 +1,7 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
|
echo "NODE_ENV=$NODE_ENV"
|
||||||
# Run command with node if the first argument contains a "-" or is not a system command. The last
|
# Run command with node if the first argument contains a "-" or is not a system command. The last
|
||||||
# part inside the "{}" is a workaround for the following bug in ash/dash:
|
# part inside the "{}" is a workaround for the following bug in ash/dash:
|
||||||
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=874264
|
# https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=874264
|
||||||
@@ -8,4 +9,4 @@ if [ "${1#-}" != "${1}" ] || [ -z "$(command -v "${1}")" ] || { [ -f "${1}" ] &&
|
|||||||
set -- node "$@"
|
set -- node "$@"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exec "$@"
|
exec "$@"
|
||||||
|
|||||||
Reference in New Issue
Block a user