directus tmux et caddy 4

This commit is contained in:
Valentin 2024-02-24 13:18:10 +01:00
parent 04e771b1eb
commit eab583f099
1 changed files with 4 additions and 1 deletions

View File

@ -240,11 +240,13 @@ if [[ "$answer" == "y" ]]; then
key=$(head -c 16 /dev/urandom | od -An -tx1 | tr -d ' \n')
secret=$(head -c 16 /dev/urandom | od -An -tx1 | tr -d ' \n')
# echo \"PUBLIC_URL='cms.${domain_name}'\" >> ${env_file} &&\
# dans le su
su -c "cd &&\
mkdir ${cms_folder} &&\
mkdir ${cms_folder}/uploads &&\
echo \"HOST='${ip}'\" >> ${env_file} &&\
echo \"PUBLIC_URL='cms.${domain_name}'\" >> ${env_file} &&\
echo \"PORT=${port}\" >> ${env_file} &&\
echo \"DB_CLIENT='mysql'\" >> ${env_file} &&\
echo \"DB_HOST='127.0.0.1'\" >> ${env_file} &&\
@ -275,3 +277,4 @@ fi
# TODO
# REMOVE EXPECT AT THE END IF IT IS INSTALLED
# CREATE AN ASSETS FOLDER WITH THE DIRECTUS ENV
# LOGING DE TOUT