-
Notifications
You must be signed in to change notification settings - Fork 216
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
45 changed files
with
249 additions
and
1,268 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,77 @@ | ||
### Full documentation available at https://wodby.com/stacks/wordpress/docs/local | ||
### | ||
### IMAGES TAGS CONSIST OF [VERSION]-[STABILITY_TAG] | ||
### | ||
### [VERSION] is usually a version of application running in a container | ||
### [VERSION] sometimes additionally includes major wordpress version (see nginx) | ||
### [STABILITY_TAG] is a version of image (not application) | ||
### [STABILITY_TAG] correspond to git tag of corresponding image repository | ||
### | ||
### EXAMPLE: wodby/mariadb:10.2-3.1.2 has MariaDB 10.2 and stability tag 3.0.2 | ||
### New stability tags include patch updates for applications and other fixes/improvements | ||
### Changelog for stability tag can be found at https://github.com/wodby/mariadb/releases | ||
### | ||
### !!! For better reliability NEVER USE image without stability tag | ||
|
||
|
||
### PROJECT SETTINGS | ||
|
||
PROJECT_NAME=my_wordpress_project | ||
PROJECT_BASE_URL=wp.docker.localhost | ||
|
||
DB_NAME=wordpress | ||
DB_USER=wordpress | ||
DB_PASSWORD=wordpress | ||
DB_ROOT_PASSWORD=password | ||
DB_HOST=mariadb | ||
|
||
### --- MARIADB ---- | ||
|
||
MARIADB_TAG=10.2-3.1.2 | ||
#MARIADB_TAG=10.1-3.1.2 | ||
|
||
### --- VANILLA WORDPRESS ---- | ||
### [WORDPRESS_VERSION]-[PHP_VERSION]-[STABILITY_TAG] | ||
|
||
WORDPRESS_TAG=4-7.2-4.2.2 | ||
#WORDPRESS_TAG=4-7.1-4.2.2 | ||
#WORDPRESS_TAG=4-7.0-4.2.2 | ||
#WORDPRESS_TAG=4-5.6-4.2.2 | ||
|
||
### --- PHP ---- | ||
|
||
PHP_TAG=7.2-dev-4.2.2 | ||
#PHP_TAG=7.1-dev-4.2.2 | ||
#PHP_TAG=7.0-dev-4.2.2 | ||
#PHP_TAG=5.6-dev-4.2.2 | ||
#PHP_TAG=7.2-dev-macos-4.2.2 | ||
#PHP_TAG=7.1-dev-macos-4.2.2 | ||
#PHP_TAG=7.0-dev-macos-4.2.2 | ||
#PHP_TAG=5.6-dev-macos-4.2.2 | ||
|
||
### --- NGINX ---- | ||
### [WORDPRESS_VERSION]-[NGINX_VERSION]-[STABILITY_TAG] | ||
|
||
NGINX_TAG=4-1.13-4.0.2 | ||
#NGINX_TAG=4-1.12-4.0.2 | ||
|
||
### --- REDIS --- | ||
|
||
REDIS_TAG=4.0-2.1.5 | ||
#REDIS_TAG=3.2-2.1.5 | ||
|
||
### --- POSTGRESQL ---- | ||
|
||
POSTGRES_TAG=10.1-1.3.0 | ||
#POSTGRES_TAG=9.6-1.3.0 | ||
#POSTGRES_TAG=9.5-1.3.0 | ||
#POSTGRES_TAG=9.4-1.3.0 | ||
#POSTGRES_TAG=9.3-1.3.0 | ||
|
||
### OTHERS | ||
|
||
ADMINER_TAG=4.3-1.1.0 | ||
APACHE_TAG=2.4-3.0.1 | ||
ATHENAPDF_TAG=2.10.0 | ||
VARNISH_TAG=4.1-2.3.0 | ||
WEBGRIND_TAG=1.5-1.3.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,9 @@ | ||
-include env_make | ||
include docker.mk | ||
|
||
.PHONY: test | ||
|
||
WORDPRESS_VER ?= 4 | ||
PHP_VER ?= 7.1 | ||
|
||
default: test | ||
PHP_VER ?= 7.2 | ||
|
||
test: | ||
cd ./test/$(WORDPRESS_VER)/$(PHP_VER) && ./run.sh | ||
cd ./test/$(WORDPRESS_VER) && PHP_VER=$(PHP_VER) ./run |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
version: "2" | ||
|
||
services: | ||
php: | ||
image: wodby/wordpress:$WORDPRESS_TAG | ||
environment: | ||
PHP_FPM_CLEAR_ENV: "no" | ||
volumes: | ||
- codebase:/var/www/html | ||
|
||
nginx: | ||
volumes: | ||
- codebase:/var/www/html | ||
|
||
volumes: | ||
codebase: |
Oops, something went wrong.