PHPackages                             lauri/dockert3kit - 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. lauri/dockert3kit

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

lauri/dockert3kit
=================

Docker Compose structure to quickly startup t3kit based TYPO3 CMS projects

6.1.0(9y ago)02263[1 PRs](https://github.com/laurisaarni/DockerT3kit/pulls)MITShell

Since Dec 3Pushed 9y ago6 watchersCompare

[ Source](https://github.com/laurisaarni/DockerT3kit)[ Packagist](https://packagist.org/packages/lauri/dockert3kit)[ RSS](/packages/lauri-dockert3kit/feed)WikiDiscussions master Synced today

READMEChangelog (8)Dependencies (1)Versions (27)Used By (0)

DockerT3kit helps you developing t3kit based TYPO3 CMS projects
===============================================================

[](#dockert3kit-helps-you-developing-t3kit-based-typo3-cms-projects)

*Important* Use [t3kit\_docker](https://github.com/t3kit/t3kit_docker) repository to run t3kit. This repository only provides the wrapper to be used by it.

DockerT3kit creates the necessary Docker containers (webserver, database, php, mail and solr) to run your t3kit based TYPO3 CMS project. The package provides a wrapper script in `vendor/bin/dockert3kit`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. The package is specifically targeted for [t3kit](https://github.com/t3kit) starter kit.

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 us know if you cannot wait.

Install dockert3kit into your distribution
------------------------------------------

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

Add `lauri/dockert3kit` as dev dependency in your composer.

***Note***

**If you are using EXT:solr = 6.0.0 please use the 4.0.0 release**

*Example*:

```
composer require --dev lauri/dockert3kit '~4.0.0'

```

**If you are using EXT:solr = 6.1.0 please use the 5.0.0 release**

*Example*:

```
composer require --dev lauri/dockert3kit '~5.0.0'

```

*Note*:

DockerT3kit 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 dockert3kit
---------------

[](#run-dockert3kit)

```
vendor/bin/dockert3kit up -d

```

The command will echo the url with which you can access your project. Since version `2.1`, the hostname is pointed automatically to the `web` container so you can start browsing right away without adding entry to `/etc/hosts` like before.

You can also use any subdomain with `*.hostname` but you need to point each of them manually in your `/etc/hosts`, e.g: `0.0.0.0 test.hostname`.

The parameter `-d` will keep it running in the background until you run:

```
vendor/bin/dockert3kit stop

```

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

```
