Skip to content

Commit fa330b9

Browse files
committed
2 parents 1c47e3c + 30703af commit fa330b9

File tree

2 files changed

+12
-187
lines changed

2 files changed

+12
-187
lines changed

Diff for: Dockerfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ RUN echo 'http://dl-4.alpinelinux.org/alpine/edge/testing' >> /etc/apk/repositor
2020
php7-pdo_mysql php7-mysqli php7-session \
2121
php7-gd php7-iconv php7-mcrypt \
2222
php7-curl php7-opcache php7-ctype php7-apcu \
23-
php7-intl php7-bcmath php7-dom php7-xmlreader mysql-client openssh-client git curl rsync && apk add -u --no-cache musl && apk --update --no-cache add tar
23+
php7-intl php7-bcmath php7-mbstring php7-dom php7-xmlreader mysql-client openssh-client git curl rsync && apk add -u --no-cache musl && apk --update --no-cache add tar
2424

2525
RUN rm -rf /var/cache/apk/*
2626

Diff for: README.md

+11-186
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,17 @@
1-
##### This image is being maintained. No need to fork it. Upgrade your site using the upgrade strategy on dockerwordpress.com
1+
##### This image is being maintained. Fork it and change it fit your needs. Upgrade your site using the upgrade strategy on wordpressdocker.com
22

3-
http://www.dockerwordpress.com/docker/upgrading-wordpress-docker
3+
Full documentation for this project can be found here: http://www.wordpressdocker.com/
44

55
# Lightweight WordPress PHP7 PHP-FPM7 & Nginx Docker Image
66

77
Lightwight Docker image for the (latest) PHP-FPM and Nginx to run WordPress based on [AlpineLinux](http://alpinelinux.org)
88

99
* Image size only ~131MB !
1010
* Very new packages (alpine:edge) 2016-07-21:
11-
* [PHP](http://pkgs.alpinelinux.org/package/main/x86/php) 7.0.8
12-
* [Nginx](http://pkgs.alpinelinux.org/package/main/x86/nginx) 1.10.1
11+
* [PHP](http://pkgs.alpinelinux.org/package/main/x86/php) 7.0.13
12+
* [Nginx](http://pkgs.alpinelinux.org/package/main/x86/nginx) nginx/1.10.2
1313
* Memory usage is around 50mb on a simple install.
14-
15-
14+
1615
## A simple example
1716
### Say you want to run a single site on a VPS with Docker
1817

@@ -44,7 +43,7 @@ mkdir -p /data/sites/etopian.net/htdocs
4443
sudo docker run -e VIRTUAL_HOST=etopian.net,www.etopian.net -v /data/sites/etopian.net:/DATA etopian/alpine-php-wordpress
4544
```
4645

47-
Populate /data/sites/etopian.com/htdocs and /data/sites/etopian.net/htdocs with your WP files. See http://www.dockerwordpress.com if you need help on how to configure your database.
46+
Populate /data/sites/etopian.com/htdocs and /data/sites/etopian.net/htdocs with your WP files. See http://www.wordpressdocker.com if you need help on how to configure your database.
4847

4948
The following user and group id are used, the files should be set to this:
5049
User ID:
@@ -73,10 +72,6 @@ cd /DATA/htdocs
7372
wp-cli cli
7473
```
7574

76-
### Fail2Ban
77-
78-
We are adding the ability to use Fail2Ban on here, however it does not yet work. Will update once it does.
79-
8075
### Multisite
8176

8277
For each multisite you need to give the domain as the -e VIRTUAL_HOST parameter. For instance VIRTUAL_HOST=site1.com,www.site1.com,site2.com,www.site2.com ... if you wish to add more sites you need to recreate the container.
@@ -94,184 +89,14 @@ To modify php.ini variable, simply edit php-fpm.ini and add php_flag[variable] =
9489
php_flag[display_errors] = on
9590
```
9691

97-
### PHP Modules
98-
#### List of available modules in Alpine Linux, not all these are installed.
99-
##### In order to install a php module do, (leave out the version number i.e. -5.6.11-r0
100-
```
101-
docker exec <image_id> apk add <pkg_name>
102-
docker restart <image_name>
103-
```
104-
Example:
105-
106-
```
107-
docker exec <image_id> apk add php-soap
108-
docker restart <image_name>
109-
```
110-
111-
112-
php-soap-5.6.11-r0
113-
114-
php-openssl-5.6.11-r0
115-
116-
php-gmp-5.6.11-r0
117-
118-
php-phar-5.6.11-r0
119-
120-
php-embed-5.6.11-r0
121-
122-
php-pdo_odbc-5.6.11-r0
123-
124-
php-mysqli-5.6.11-r0
125-
126-
php-common-5.6.11-r0
127-
128-
php-ctype-5.6.11-r0
129-
130-
php-fpm-5.6.11-r0
131-
132-
php-shmop-5.6.11-r0
133-
134-
php-xsl-5.6.11-r0
135-
136-
php-curl-5.6.11-r0
137-
138-
php-pear-net_idna2-0.1.1-r0
139-
140-
php-json-5.6.11-r0
141-
142-
php-dom-5.6.11-r0
143-
144-
php-pspell-5.6.11-r0
145-
146-
php-sockets-5.6.11-r0
147-
148-
php-pear-mdb2-driver-pgsql-2.5.0b5-r0
149-
150-
php-pdo-5.6.11-r0
151-
152-
phpldapadmin-1.2.3-r3
153-
154-
php-pear-5.6.11-r0
155-
156-
php-phpmailer-5.2.0-r0
157-
158-
phpmyadmin-doc-4.4.10-r0
159-
160-
php-cli-5.6.11-r0
161-
162-
php-zip-5.6.11-r0
163-
164-
php-pgsql-5.6.11-r0
165-
166-
php-sysvshm-5.6.11-r0
167-
168-
php-imap-5.6.11-r0
169-
170-
php-intl-5.6.11-r0
171-
172-
php-embed-5.6.11-r0
173-
174-
php-zlib-5.6.11-r0
175-
176-
php-phpdbg-5.6.11-r0
177-
178-
php-sysvsem-5.6.11-r0
179-
180-
phpmyadmin-4.4.10-r0
181-
182-
php-mysql-5.6.11-r0
183-
184-
php-sqlite3-5.6.11-r0
185-
186-
php-cgi-5.6.11-r0
187-
188-
php-apcu-4.0.7-r1
189-
190-
php-snmp-5.6.11-r0
191-
192-
php-pdo_pgsql-5.6.11-r0
193-
194-
php-xml-5.6.11-r0
195-
196-
php-wddx-5.6.11-r0
197-
198-
php-sysvmsg-5.6.11-r0
199-
200-
php-enchant-5.6.11-r0
201-
202-
php-bcmath-5.6.11-r0
203-
204-
php-pear-mail_mime-1.8.9-r0
205-
206-
php-apache2-5.6.11-r0
207-
208-
php-gd-5.6.11-r0
209-
210-
php-pear-mdb2-driver-sqlite-2.5.0b5-r0
211-
212-
php-xcache-3.2.0-r1
213-
214-
php-odbc-5.6.11-r0
215-
216-
php-mailparse-2.1.6-r2
217-
218-
php-ftp-5.6.11-r0
219-
220-
perl-php-serialization-0.34-r1
221-
222-
php-exif-5.6.11-r0
223-
224-
php-pdo_mysql-5.6.11-r0
225-
226-
php-ldap-5.6.11-r0
227-
228-
php-pear-mdb2-2.5.0b5-r0
229-
230-
php-dbg-5.6.11-r0
231-
232-
php-pear-net_smtp-1.6.2-r0
233-
234-
php-opcache-5.6.11-r0
235-
236-
php-pdo_sqlite-5.6.11-r0
237-
238-
php-posix-5.6.11-r0
239-
240-
php-dba-5.6.11-r0
241-
242-
php-iconv-5.6.11-r0
243-
244-
php-gettext-5.6.11-r0
245-
246-
php-xmlreader-5.6.11-r0
247-
248-
php-5.6.11-r0
249-
250-
php-xmlrpc-5.6.11-r0
251-
252-
php-bz2-5.6.11-r0
253-
254-
perl-php-serialization-doc-0.34-r1
255-
256-
php-mcrypt-5.6.11-r0
257-
258-
php-memcache-3.0.8-r3
259-
260-
xapian-bindings-php-1.2.21-r1
261-
262-
php-pdo_dblib-5.6.11-r0
263-
264-
php-phalcon-2.0.3-r0
265-
266-
php-dev-5.6.11-r0
92+
Additional documentation on http://www.wordpressdocker.com
26793

268-
php-doc-5.6.11-r0
94+
## Questions or Support
26995

270-
php-mssql-5.6.11-r0
96+
https://gitter.im/etopian/devoply
27197

272-
php-calendar-5.6.11-r0
98+
## Docker WordPress Control Panel
27399

274-
php-pear-mdb2-driver-mysqli-2.5.0b5-r0
100+
DEVOPly is a free hosting control panel which does everything taught in this tutorial automatically and much more, backups, staging/dev/prod, code editor, Github/Bitbucket deployments, DNS, WordPress Management. https://www.devoply.com
275101

276-
php-pear-mdb2-driver-mysql-2.5.0b5-r0
277102

0 commit comments

Comments
 (0)