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
Compare revisions
fcee84f3902e1e4be4181aff738c74bb4197095e to 3c41937c5657fb8b37f569a2fb5ac1d292580bc0
Compare revisions
Changes are shown as if the
source
revision was being merged into the
target
revision.
Learn more about comparing revisions.
Source
libre.sh/compose/wordpress
Select target project
No results found
3c41937c5657fb8b37f569a2fb5ac1d292580bc0
Select Git revision
Branches
develop
envFile
envFileExample
master
optiwp
Tags
5
5.9
6.0
Swap
Target
libre.sh/compose/wordpress
Select target project
libre.sh/compose/wordpress
1 result
fcee84f3902e1e4be4181aff738c74bb4197095e
Select Git revision
Branches
develop
envFile
envFileExample
master
optiwp
Tags
5
5.9
6.0
Show changes
Only incoming changes from source
Include changes to target since source was created
Compare
Commits on Source (5)
move to 5.9-fpm
· 6850c69b
Michel Memeteau
authored
2 years ago
6850c69b
Move to 5.9-fpm
· 3461bd3e
Michel Memeteau
authored
2 years ago
3461bd3e
Merge branch 'develop' of lab.libreho.st:libre.sh/compose/wordpress into develop
· cf75c00b
Michel Memeteau
authored
2 years ago
cf75c00b
Fix last commit
· b56648e2
Michel Memeteau
authored
2 years ago
b56648e2
Merge branch 'develop'
· 3c41937c
Michel Memeteau
authored
2 years ago
3c41937c
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
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.