diff --git a/apiserver/.env.example b/apiserver/.env.example index 7af2f0056..ad2140a5d 100644 --- a/apiserver/.env.example +++ b/apiserver/.env.example @@ -52,4 +52,4 @@ SPACE_BASE_URL= APP_BASE_URL= # Hard delete files after days -HARD_DELETE_AFTER_DAYS= \ No newline at end of file +HARD_DELETE_AFTER_DAYS=60 diff --git a/apiserver/bin/docker-entrypoint-api-local.sh b/apiserver/bin/docker-entrypoint-api-local.sh index 3194009b2..b5489b46e 100755 --- a/apiserver/bin/docker-entrypoint-api-local.sh +++ b/apiserver/bin/docker-entrypoint-api-local.sh @@ -32,4 +32,3 @@ python manage.py create_bucket python manage.py clear_cache python manage.py runserver 0.0.0.0:8000 --settings=plane.settings.local - diff --git a/setup.sh b/setup.sh index 838f5bbac..9b84edeb5 100755 --- a/setup.sh +++ b/setup.sh @@ -11,4 +11,4 @@ cp ./space/.env.example ./space/.env cp ./admin/.env.example ./admin/.env # Generate the SECRET_KEY that will be used by django -echo "SECRET_KEY=\"$(tr -dc 'a-z0-9' < /dev/urandom | head -c50)\"" >> ./apiserver/.env \ No newline at end of file +echo -e "\nSECRET_KEY=\"$(tr -dc 'a-z0-9' < /dev/urandom | head -c50)\"" >> ./apiserver/.env