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
e096677e
Commit
e096677e
authored
9 years ago
by
Pierre Ozoux
Browse files
Options
Downloads
Patches
Plain Diff
Moves the docekr image to docker-wordpress
parent
6cffea82
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
Dockerfile
+0
-12
0 additions, 12 deletions
Dockerfile
php.ini
+0
-1
0 additions, 1 deletion
php.ini
run.sh
+0
-19
0 additions, 19 deletions
run.sh
with
0 additions
and
32 deletions
Dockerfile
deleted
100644 → 0
+
0
−
12
View file @
6cffea82
FROM
wordpress:fpm
RUN
apt-get update
\
&&
apt-get
install
-y
--no-install-recommends
\
ssmtp
\
&&
rm
-rf
/var/lib/apt/lists/
*
\
&&
docker-php-ext-install zip mbstring
COPY
run.sh /run.sh
COPY
php.ini /usr/local/etc/php/php.ini
CMD
["/run.sh"]
This diff is collapsed.
Click to expand it.
php.ini
deleted
100644 → 0
+
0
−
1
View file @
6cffea82
sendmail_path
=
/usr/sbin/ssmtp -t
This diff is collapsed.
Click to expand it.
run.sh
deleted
100755 → 0
+
0
−
19
View file @
6cffea82
/bin/bash
-eux
chfn
-f
'Wordpress Admin'
www-data
cat
>
/etc/ssmtp/ssmtp.conf
<<
EOF
UseTLS=Yes
UseSTARTTLS=Yes
root=
${
MAIL_USER
}
mailhub=
${
MAIL_HOST
}
:
${
MAIL_PORT
}
hostname=
${
MAIL_USER
}
AuthUser=
${
MAIL_USER
}
AuthPass=
${
MAIL_PASS
}
EOF
echo
"www-data:
${
MAIL_USER
}
:
${
MAIL_HOST
}
:
${
MAIL_PORT
}
"
>>
/etc/ssmtp/revaliases
#echo "sendmail_from = ${MAIL_USER}" >> /usr/local/etc/php/php.ini
/entrypoint.sh php-fpm
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