Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Wordpress
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
libre.sh
compose
Wordpress
Commits
3c41937c
Commit
3c41937c
authored
2 years ago
by
Michel Memeteau
Browse files
Options
Downloads
Plain Diff
Merge branch 'develop'
parents
fcee84f3
b56648e2
No related branches found
Branches containing commit
Tags
5
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
scripts/install
+5
-1
5 additions, 1 deletion
scripts/install
with
5 additions
and
1 deletion
scripts/install
+
5
−
1
View file @
3c41937c
...
...
@@ -3,7 +3,7 @@
source
/etc/environment
WORDPRESS_VERSION
=
5.
8
-fpm
WORDPRESS_VERSION
=
5.
9
-fpm
MYSQL_ROOT_PASSWORD
=
`
tr
-dc
A-Za-z0-9_ < /dev/urandom |
head
-c
20 | xargs
`
var
=
$(
for
folder
in
`
ls
/data/domains
`
;
do
cat
/data/domains/
$folder
/.env |
grep
SUBNET |
cut
-d
"="
-f2
;
done
|
sort
|
tail
-n1
)
...
...
@@ -11,11 +11,15 @@ SUBNET=$(($var +1))
echo
"MYSQL_ROOT_PASSWORD=
${
MYSQL_ROOT_PASSWORD
}
"
>
.env
echo
"WORDPRESS_DB_PASSWORD=
${
MYSQL_ROOT_PASSWORD
}
"
>>
.env
echo
"MAIL_PASS=
${
MAIL_PASS
}
"
>>
.env
echo
"MAIL_USER=
${
MAIL_USER
}
"
>>
.env
echo
"MAIL_HOST=
${
MAIL_HOST
}
"
>>
.env
echo
"MAIL_PORT=
${
MAIL_PORT
}
"
>>
.env
echo
"MAIL_SECURITY=
${
MAIL_SECURITY
}
"
>>
.env
echo
"SUBNET=
${
SUBNET
}
"
>>
.env
echo
"WORDPRESS_VERSION=
${
WORDPRESS_VERSION
}
"
>>
.env
echo
"MYSQL_VERSION=5.7"
>>
.env
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment