directus tmux et caddy 7
This commit is contained in:
parent
0d30c543db
commit
657918652a
@ -240,15 +240,12 @@ if [[ "$answer" == "y" ]]; then
|
|||||||
key=$(head -c 16 /dev/urandom | od -An -tx1 | tr -d ' \n')
|
key=$(head -c 16 /dev/urandom | od -An -tx1 | tr -d ' \n')
|
||||||
secret=$(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 &&\
|
su -c "cd &&\
|
||||||
mkdir ${cms_folder} &&\
|
mkdir ${cms_folder} &&\
|
||||||
mkdir ${cms_folder}/uploads &&\
|
mkdir ${cms_folder}/uploads &&\
|
||||||
echo \"HOST='${ip}'\" >> ${env_file} &&\
|
echo \"HOST='${ip}'\" >> ${env_file} &&\
|
||||||
echo \"PORT=${port}\" >> ${env_file} &&\
|
echo \"PORT=${port}\" >> ${env_file} &&\
|
||||||
echo \"PUBLIC_URL='/\" >> ${env_file} &&\
|
echo \"PUBLIC_URL='https://cms.${domain_name}\" >> ${env_file} &&\
|
||||||
echo \"DB_CLIENT='mysql'\" >> ${env_file} &&\
|
echo \"DB_CLIENT='mysql'\" >> ${env_file} &&\
|
||||||
echo \"DB_HOST='127.0.0.1'\" >> ${env_file} &&\
|
echo \"DB_HOST='127.0.0.1'\" >> ${env_file} &&\
|
||||||
echo \"DB_PORT='3306'\" >> ${env_file} &&\
|
echo \"DB_PORT='3306'\" >> ${env_file} &&\
|
||||||
|
Loading…
x
Reference in New Issue
Block a user