chore: improve docker setup (#1150)

This commit is contained in:
pablohashescobar
2023-05-29 12:11:16 +05:30
committed by GitHub
parent 23d08a2ad1
commit ffc6077e9b
11 changed files with 52 additions and 26 deletions

View File

@@ -10,7 +10,7 @@ export LC_CTYPE=C
echo -e "\nNEXT_PUBLIC_API_BASE_URL=$1" >> ./.env
# Generate the SECRET_KEY that will be used by django
echo -e "SECRET_KEY=\"$(tr -dc 'a-z0-9!@#$%^&*(-_=+)' < /dev/urandom | head -c50)\"" >> ./.env
echo -e "SECRET_KEY=\"$(tr -dc 'a-z0-9' < /dev/urandom | head -c50)\"" >> ./.env
# WEB_URL for email redirection and image saving
echo -e "WEB_URL=$1" >> ./.env