Skip to content

armgit / core

Public Imported from GitHub
0

100% open-source IoT Platform - Integrate your devices, add intelligence, build custom apps

Allow runtime config of DEV_MODE environment var in docker

Rich Turnerc0e36c3a9fe7
diff --git a/profile/deploy.yml b/profile/deploy.yml
index 99b733eab..c5c689d58 100644
--- a/profile/deploy.yml
+++ b/profile/deploy.yml
@@ -92,7 +92,7 @@ services:
# If developer mode is enabled, all setup tasks will be executed on application startup.
# This will clean all data in the database, and then import demo/test data. Some caching and
# other runtime performance-optimizations will also be disabled.
- DEV_MODE: 'false'
+ DEV_MODE: ${DEV_MODE:-false}
# This switch can wipe your database, this is the factory reset!
SETUP_WIPE_CLEAN_INSTALL: 'true'