Browse Source

fix: disable newrelic on self-hosted by default

Karol Sójko 2 years ago
parent
commit
4ad1cccc33
1 changed files with 8 additions and 0 deletions
  1. 8 0
      docker/docker-entrypoint.sh

+ 8 - 0
docker/docker-entrypoint.sh

@@ -22,6 +22,14 @@ if [ -z "$REVISIONS_SERVER_PORT" ]; then
   export REVISIONS_SERVER_PORT=3105
   export REVISIONS_SERVER_PORT=3105
 fi
 fi
 
 
+#############
+# NEW RELIC #
+#############
+
+if [ -z "$NEW_RELIC_ENABLED" ]; then
+  export NEW_RELIC_ENABLED=false
+fi
+
 ######
 ######
 # DB #
 # DB #
 ######
 ######