Change the Start Script and Added NODE_ENV to the env vars also for the dockerized Version
This commit is contained in:
@@ -2,4 +2,3 @@ SHELL=/bin/bash
|
||||
MAILTO=""
|
||||
0 8 * * * root . /etc/cron-env.sh && /opt/app/run-task.sh --today >> /proc/1/fd/1 2>&1
|
||||
*/15 * * * * root . /etc/cron-env.sh && /opt/app/run-task.sh >> /proc/1/fd/1 2>&1
|
||||
* * * * * root echo "cron test ran at $(date)" >> /proc/1/fd/1 2>&1
|
||||
|
||||
@@ -7,6 +7,7 @@ chmod +x /etc/cron-env.sh
|
||||
# Write the Env Vars into a file for cron. happens during runtime of the container and not build.
|
||||
# List your environment variables here
|
||||
env_vars=(
|
||||
NODE_ENV
|
||||
TZ
|
||||
DB_FILEPATH
|
||||
DB_FILENAME
|
||||
|
||||
Reference in New Issue
Block a user