Ver código fonte

Merge branch 'dockerize/server' of hostbbq/hostbbq-monitoring into master

tunefish 2 anos atrás
pai
commit
59f5349f35
1 arquivos alterados com 2 adições e 0 exclusões
  1. 2 0
      server/install/install.sh

+ 2 - 0
server/install/install.sh

@@ -47,6 +47,8 @@ git submodule update
 
 if [[ -f "$INSTALL_DIR/.env" ]]; then
   export $(cat "$INSTALL_DIR/.env" | xargs)
+else 
+  export $(cat ".env.default" | xargs)
 fi
 
 if [[ ! -d "$PWD/$DATA_DIR" ]]; then