PHPackages                             visay/dockertypo3 - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [DevOps &amp; Deployment](/categories/devops)
4. /
5. visay/dockertypo3

ActiveLibrary[DevOps &amp; Deployment](/categories/devops)

visay/dockertypo3
=================

Docker Compose structure to quickly startup TYPO3 CMS projects

8.7.0(8y ago)12.5k7[2 issues](https://github.com/visay/DockerTYPO3/issues)[1 PRs](https://github.com/visay/DockerTYPO3/pulls)MITShell

Since Dec 3Pushed 8y ago3 watchersCompare

[ Source](https://github.com/visay/DockerTYPO3)[ Packagist](https://packagist.org/packages/visay/dockertypo3)[ RSS](/packages/visay-dockertypo3/feed)WikiDiscussions master Synced 3w ago

READMEChangelog (10)Dependencies (1)Versions (19)Used By (0)

DockerTYPO3 helps you developing TYPO3 CMS projects
===================================================

[](#dockertypo3-helps-you-developing-typo3-cms-projects)

[![](https://camo.githubusercontent.com/df38e13bee83c6b0ad1d8eebb2a065eba417e31d650fd370cc4d00feea4ec0d7/68747470733a2f2f696d616765732e6d6963726f6261646765722e636f6d2f6261646765732f696d6167652f76697361792f646f636b65727479706f332e737667)](https://microbadger.com/images/visay/dockertypo3 "Get your own image badge on microbadger.com")

DockerTYPO3 creates the necessary Docker containers (webserver, database, php, mail, redis, elasticsearch, couchdb) to run your TYPO3 CMS project. The package provides a wrapper script in `vendor/bin/dockertypo3`which simplifies the handling of docker and does all the configuration necessary.

We created this package to make development on TYPO3 CMS projects easier and to create a simple reusable package which can easily be maintained and serves well for the standard project.

Development will continue further as the package is already reused in several projects. Contributions and feedback are very welcome.

Install docker
--------------

[](#install-docker)

```
https://docs.docker.com/installation/ (tested with docker v1.9 - v1.12)

```

Install docker-compose
----------------------

[](#install-docker-compose)

We use docker-compose to do all the automatic configuration:

```
http://docs.docker.com/compose/install/ (tested with docker-compose v1.5 - v1.6)

```

The repository contains a Dockerfile which will automatically be built in the [docker hub](https://registry.hub.docker.com/u/visay/dockertypo3/) after each change and used by docker-compose to build the necessary containers.

On a Mac or Windows
-------------------

[](#on-a-mac-or-windows)

It has been tested working with docker for Mac but not yet with docker for Windows. Feel free to try out and let me know if you cannot wait.

Install dockertypo3 into your distribution
------------------------------------------

[](#install-dockertypo3-into-your-distribution)

Add `visay/dockertypo3` as dev dependency in your composer, using the latest stable release is highly recommended.

*Example*:

```
composer require --dev visay/dockertypo3 2.1.*

```

*Note*:

DockerTYPO3 uses port 80 for web access so you need to make sure that your host machine does not have any software using that port. Usually this happens if you have apache or nginx installed in your host machine, so you can stop it with:

```
sudo service apache2 stop
sudo service nginx stop

```

Run dockertypo3
---------------

[](#run-dockertypo3)

```
vendor/bin/dockertypo3 up -d

```

The command will echo the url with which you can access your project. Add the hostname then to your `/etc/hosts`and set the ip to your docker host (default for linux is 0.0.0.0). You can also use any subdomain with \*.hostname and it will point to the same server. What you need to do is to add exact subdomain name to your `/etc/hosts`. The parameter `-d` will keep it running in the background until you run:

```
vendor/bin/dockertypo3 stop

```

The default database configuration for your `AdditionalConfiguration.php` is:

```
