Commit 63794e70 authored by Felix Bartels's avatar Felix Bartels

do not install demo data

move some settings that should be default from .env directly to start.sh
fix filename for services.yml
Signed-off-by: Felix Bartels's avatarFelix Bartels <felix@host-consultants.de>
parent 8cea1fa8
......@@ -6,16 +6,14 @@ export DB_PORT=$CLOUDRON_POSTGRESQL_PORT
export DB_USER=$CLOUDRON_POSTGRESQL_USERNAME
export DB_PASS=$CLOUDRON_POSTGRESQL_PASSWORD
export DB_DATABASE=$CLOUDRON_POSTGRESQL_DATABASE
export SAMPLE_DATA=false # do not install statping demo data
export DOMAIN=https://$CLOUDRON_APP_DOMAIN
export IS_DOCKER=true
if [ ! -e .env ]; then
cat <<-EOF > "./.env"
# Config file to load
#NAME=Demo
#DESCRIPTION=This is an awesome page
DOMAIN=https://$CLOUDRON_APP_DOMAIN
# this should be false, but currently does not work https://github.com/statping/statping/issues/531
#USE_CDN=true
IS_DOCKER=true
#USE_CDN=false
DISABLE_LOGS=false
EOF
fi
......@@ -23,7 +21,7 @@ fi
source .env
if [ ! -e services.yml ]; then
cat <<-EOF > "./service.yml"
cat <<-EOF > "./services.yml"
x-tcpservice: &tcpservice
type: tcp
check_interval: 60
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment