Skip to content

Commit

Permalink
Release 5.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
csandanov committed Mar 8, 2018
1 parent 19474e1 commit 5f3754a
Show file tree
Hide file tree
Showing 45 changed files with 249 additions and 1,268 deletions.
77 changes: 77 additions & 0 deletions .env
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
12 changes: 4 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@ env:
- WORDPRESS_VER=4 PHP_VER=5.6

script:
- set -e
- make test
- cp docker.mk Makefile
- tar -czf docker4wordpress.tar.gz docker-compose.yml docker-sync.yml Makefile .env traefik.yml

deploy:
provider: releases
Expand All @@ -20,13 +23,6 @@ deploy:
skip_cleanup: true
file_glob: true
file:
- docker-compose.yml
- docker-sync.yml
- traefik.yml
- docker4wordpress.tar.gz
on:
tags: true

notifications:
slack:
on_failure: never
secure: "QK1v3v7bNcgD3CvuUjzTEYOCTIzO/WlJziL1CAH8k9lxUepbpxhC26O4v0DBXEjwNKgolP7CAjdaNAItFgjPvIXQHM+jSr4FcLWndF4I99CdzA0Ql7zzC0sgtw1vG9tzR4oauLLI8lemmVdqZmFgQ3G063YSHTD0o8LfFmMtPCqQzjKq9Cx2QOIdgOGmjeODd6My0ZM+MhbtoTNGdm1M3J4IRIHM0wKQir+Bd9dYpW1itgYzHCugaYzc+ITaP472dqsa+ickR5eu5oWFuGbqHcCa4s/oWVBdxwJ9gp8dc4YfaetWNiNPSvqKPlTcCdFuteO9oHO/VNVXtUOJs0ZfZuaAvlopdwhkncGWq5xeAF9ImauIAzNCh2RuYrRAtqqBWxhiqjybUBI9YM1A9rPZWJrP8kxVq+8UD0tfHCwcnMv1xPCsZ/EmwzMBZw8ujJBZu4d3BOmxSvAxd4RsIEJrTewcLbNCvPaARNscD1yMWHdqx6o3G6tomQ3mZkf0q1iBCYu6gmDNwQ3Y3ruE5Db2hoCwwyo656ahakTT3R8f2+wGvJ4jWE0ve+rZMPGd7NKWQIwqHVSRZv7Fg86Sz/h1vBAEXMFWYoOO3bFt71tTKBk/l4OcNQbDxNm7UsyMQqFlSAey98tk9BNoV51yNQ0jlJVN1yD7B3eh/9jb1bkJTtw="
8 changes: 3 additions & 5 deletions Makefile
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
16 changes: 16 additions & 0 deletions docker-compose.override.yml
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:
Loading

0 comments on commit 5f3754a

Please sign in to comment.