Skip to content

Commit

Permalink
Merge branch 'release/5.2.0-beta1'
Browse files Browse the repository at this point in the history
  • Loading branch information
mblaschke committed Oct 18, 2016
2 parents 7b4ed24 + aadc560 commit 0370d98
Show file tree
Hide file tree
Showing 47 changed files with 606 additions and 600 deletions.
13 changes: 12 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,17 @@
PHP Docker Boilerplate Changelog
TYPO3 Docker Boilerplate Changelog
==================================

5.2.0-beta1 - 2016-10-18
------------------------
- Add dinghy/dory support
- Switch to mailhog instead of mailcatcher
- Add phpmyadmin
- Switch to ubuntu 16.04 as default
- docker-compose.yml is now using version 2
- PHP debugger can now be switched with variable
- Add PostgreSQL 9.5
- Some minor fixes and cleanups

5.1.3 - 2016-05-25
------------------
- Fix nginx vhost configuration (modular WebDevOps image design)
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.cloud
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
#
#++++++++++++++++++++++++++++++++++++++

FROM webdevops/php-apache:ubuntu-14.04
FROM webdevops/php-apache:ubuntu-16.04

ENV PROVISION_CONTEXT "production"

Expand All @@ -53,7 +53,7 @@ COPY provision/ /opt/docker/provision/

COPY app/ /app/

RUN /opt/docker/bin/provision add --tag bootstrap --tag entrypoint boilerplate-main boilerplate-deployment \
RUN /opt/docker/bin/provision run --tag bootstrap --role boilerplate-main --role boilerplate-deployment \
&& /opt/docker/bin/bootstrap.sh

# Configure volume/workdir
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.development
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@
#
#++++++++++++++++++++++++++++++++++++++

FROM webdevops/php-apache-dev:ubuntu-14.04
FROM webdevops/php-apache-dev:ubuntu-16.04

ENV PROVISION_CONTEXT "development"

# Deploy scripts/configurations
COPY etc/ /opt/docker/etc/
COPY provision/ /opt/docker/provision/

RUN /opt/docker/bin/provision add --tag bootstrap --tag entrypoint boilerplate-main boilerplate-main-development boilerplate-deployment \
RUN /opt/docker/bin/provision run --tag bootstrap --role boilerplate-main --role boilerplate-main-development --role boilerplate-deployment \
&& /opt/docker/bin/bootstrap.sh

# Configure volume/workdir
Expand Down
4 changes: 2 additions & 2 deletions Dockerfile.production
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@
#
#++++++++++++++++++++++++++++++++++++++

FROM webdevops/php-apache:ubuntu-14.04
FROM webdevops/php-apache:ubuntu-16.04

ENV PROVISION_CONTEXT "production"

# Deploy scripts/configurations
COPY etc/ /opt/docker/etc/
COPY provision/ /opt/docker/provision/

RUN /opt/docker/bin/provision add --tag bootstrap --tag entrypoint boilerplate-main boilerplate-deployment \
RUN /opt/docker/bin/provision run --tag bootstrap --role boilerplate-main --role boilerplate-deployment \
&& /opt/docker/bin/bootstrap.sh

# Configure volume/workdir
Expand Down
5 changes: 2 additions & 3 deletions README.md
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
![TYPO3 Docker Boilerplate](https://static.webdevops.io/typo3-docker-boilerplate.svg)

[![latest v5.1.3](https://img.shields.io/badge/latest-v5.1.3-green.svg?style=flat)](https://github.com/webdevops/TYPO3-docker-boilerplate/releases/tag/5.1.3)
[![latest v5.2.0-beta1](https://img.shields.io/badge/latest-v5.2.0-beta1-green.svg?style=flat)](https://github.com/webdevops/TYPO3-docker-boilerplate/releases/tag/5.2.0-beta1)
![License MIT](https://img.shields.io/badge/license-MIT-blue.svg?style=flat)
[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/webdevops/typo3-docker-boilerplate.svg)](http://isitmaintained.com/project/webdevops/typo3-docker-boilerplate "Average time to resolve an issue")
[![Percentage of issues still open](http://isitmaintained.com/badge/open/webdevops/typo3-docker-boilerplate.svg)](http://isitmaintained.com/project/webdevops/typo3-docker-boilerplate "Percentage of issues still open")

This is an easy customizable TYPO3 docker boilerplate.

Expand All @@ -19,6 +17,7 @@ Supports:
- Memcached (disabled)
- Mailcatcher (if no mail sandbox is used, eg. [Vagrant Development VM](https://github.com/webdevops/vagrant-development))
- FTP server (vsftpd)
- PhpMyAdmin
- Support for `TYPO3_CONTEXT` and `FLOW_CONTEXT` for TYPO3, FLOW, NEOS.
- maybe more later...

Expand Down
2 changes: 1 addition & 1 deletion bin/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ sectionHeader "Checking for composer.json ..."
find "$CODE_DIR" -type f -name 'composer.json' | excludeFilter | while read FILE; do
COMPOSER_JSON_DIR=$(dirname $($READLINK -f "$FILE"))

execInDir "$COMPOSER_JSON_DIR" "composer install --no-dev --no-interaction"
execInDir "$COMPOSER_JSON_DIR" "docker run --rm -v $(pwd):/app composer/composer:alpine install --no-dev --no-interaction"
done


Expand Down
4 changes: 2 additions & 2 deletions bin/create-project.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,15 +21,15 @@ case "$1" in
## TYPO3 CMS
###################################
"typo3")
execInDir "$CODE_DIR" "composer create-project typo3/cms-base-distribution \"$CODE_DIR\""
execInDir "$CODE_DIR" "docker run --rm -v $(pwd):/app composer/composer:alpine create-project typo3/cms-base-distribution \"$CODE_DIR\""
execInDir "$CODE_DIR" "touch web/FIRST_INSTALL"
;;

###################################
## TYPO3 NEOS
###################################
"neos")
execInDir "$CODE_DIR" "composer create-project typo3/neos-base-distribution \"$CODE_DIR\""
execInDir "$CODE_DIR" "docker run --rm -v $(pwd):/app composer/composer:alpine create-project typo3/neos-base-distribution \"$CODE_DIR\""
;;

###################################
Expand Down
270 changes: 142 additions & 128 deletions docker-compose.cloud.yml
Original file line number Diff line number Diff line change
@@ -1,136 +1,150 @@
#######################################
# PHP application Docker container
#
# for this container you have to remove
# following entries from .dockerignore:
#
# etc/*
# provision/*
# app/*
#
#######################################
app:
build: .
dockerfile: Dockerfile.cloud
links:
- mysql
#- postgres
#- mail
#- solr
#- elasticsearch
#- redis
#- memcached
#- ftp
ports:
- "8000:80"
- "8443:443"
- "10022:22"
volumes_from:
- storage
env_file:
- etc/environment.yml
- etc/environment.production.yml
version: '2'
services:
#######################################
# PHP application Docker container
#
# for this container you have to remove
# following entries from .dockerignore:
#
# etc/*
# provision/*
# app/*
#
#######################################
app:
build:
context: .
dockerfile: Dockerfile.cloud
links:
- mysql
#- postgres
#- mail
#- solr
#- elasticsearch
#- redis
#- memcached
#- ftp
restart: always
ports:
- "8000:80"
- "8443:443"
- "10022:22"
volumes_from:
- storage
env_file:
- etc/environment.yml
- etc/environment.production.yml

#######################################
# MySQL server
#######################################
mysql:
build: docker/mysql
#dockerfile: MySQL-5.5
dockerfile: MySQL-5.6
#dockerfile: MySQL-5.7
#dockerfile: MariaDB-5.5
#dockerfile: MariaDB-10
#dockerfile: Percona-5.5
#dockerfile: Percona-5.6
volumes_from:
- storage
env_file:
- etc/environment.yml
- etc/environment.production.yml
#######################################
# MySQL server
#######################################
mysql:
build:
context: docker/mysql/
#dockerfile: MySQL-5.5.Dockerfile
dockerfile: MySQL-5.6.Dockerfile
#dockerfile: MySQL-5.7.Dockerfile
#dockerfile: MariaDB-5.5.Dockerfile
#dockerfile: MariaDB-10.Dockerfile
#dockerfile: Percona-5.5.Dockerfile
#dockerfile: Percona-5.6.Dockerfile
#dockerfile: Percona-5.7.Dockerfile
restart: always
volumes_from:
- storage
env_file:
- etc/environment.yml
- etc/environment.production.yml

#######################################
# PostgreSQL server
#######################################
#postgres:
# build: docker/postgres/
# volumes_from:
# - storage
# env_file:
# - etc/environment.yml
# - etc/environment.production.yml
#######################################
# PostgreSQL server
#######################################
#postgres:
# build:
# context: docker/postgres/
# dockerfile: Postgres-9.4.Dockerfile
# dockerfile: Postgres-9.5.Dockerfile
# restart: always
# volumes_from:
# - storage
# env_file:
# - etc/environment.yml
# - etc/environment.production.yml

#######################################
# Solr server
#######################################
#solr:
# build: docker/solr/
# volumes_from:
# - storage
# environment:
# - SOLR_STORAGE=/storage/solr/server-master/
# env_file:
# - etc/environment.yml
# - etc/environment.production.yml
#######################################
# Solr server
#######################################
#solr:
# build:
# context: docker/solr/
# restart: always
# volumes_from:
# - storage
# environment:
# - SOLR_STORAGE=/storage/solr/server-master/
# env_file:
# - etc/environment.yml
# - etc/environment.production.yml

#######################################
# Elasticsearch
#######################################
#elasticsearch:
# build: docker/elasticsearch/
# volumes_from:
# - storage
# env_file:
# - etc/environment.yml
# - etc/environment.production.yml
#######################################
# Elasticsearch
#######################################
#elasticsearch:
# build:
# context: docker/elasticsearch/
# restart: always
# volumes_from:
# - storage
# env_file:
# - etc/environment.yml
# - etc/environment.production.yml

#######################################
# Redis
#######################################
#redis:
# build: docker/redis/
# volumes_from:
# - storage
# env_file:
# - etc/environment.yml
# - etc/environment.production.yml
#######################################
# Redis
#######################################
#redis:
# build:
# context: docker/redis/
# restart: always
# volumes_from:
# - storage
# env_file:
# - etc/environment.yml
# - etc/environment.production.yml

#######################################
# Memcached
#######################################
#memcached:
# build: docker/memcached/
# volumes_from:
# - storage
# env_file:
# - etc/environment.yml
# - etc/environment.production.yml
#######################################
# Memcached
#######################################
#memcached:
# build:
# context: docker/memcached/
# restart: always
# volumes_from:
# - storage
# env_file:
# - etc/environment.yml
# - etc/environment.production.yml

#######################################
# Mailcatcher
#######################################
#mail:
# build: docker/mail/
# env_file:
# - etc/environment.yml
# - etc/environment.production.yml
#######################################
# FTP (vsftpd)
#######################################
#ftp:
# build:
# context: docker/vsftpd/
# restart: always
# volumes_from:
# - sourcecode
# - storage
# env_file:
# - etc/environment.yml
# - etc/environment.production.yml

#######################################
# FTP (vsftpd)
#######################################
#ftp:
# build: docker/vsftpd/
# volumes_from:
# - sourcecode
# - storage
# env_file:
# - etc/environment.yml
# - etc/environment.production.yml

#######################################
# Storage
#######################################
storage:
build: docker/storage/
volumes:
- /storage
#######################################
# Storage
#######################################
storage:
build:
context: docker/storage/
restart: always
volumes:
- /storage
Loading

0 comments on commit 0370d98

Please sign in to comment.