Skip to content

armgit / core

Public Imported from GitHub
0

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

Allow SETUP_WIPE_CLEAN_INSTALL to be set with environment variable on CLI

Rich Turner9538c0dce7d6
diff --git a/profile/deploy.yml b/profile/deploy.yml
index c5c689d58..b7887f113 100644
--- a/profile/deploy.yml
+++ b/profile/deploy.yml
@@ -95,7 +95,7 @@ services:
DEV_MODE: ${DEV_MODE:-false}
# This switch can wipe your database, this is the factory reset!
- SETUP_WIPE_CLEAN_INSTALL: 'true'
+ SETUP_WIPE_CLEAN_INSTALL: ${SETUP_WIPE_CLEAN_INSTALL:-true}
SETUP_ADMIN_PASSWORD: ${SETUP_ADMIN_PASSWORD:-secret}
# When you are ready to permanently install your project, replace it with the next lines...