You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[](http://isitmaintained.com/project/mblaschke/typo3-docker-boilerplate"Average time to resolve an issue")
6
6
[](http://isitmaintained.com/project/mblaschke/typo3-docker-boilerplate"Percentage of issues still open")
@@ -26,249 +26,32 @@ Configuration of each docker container is available in the `docker/` directory -
26
26
This boilerplate can also be used for any other web project eg. Symfony, Magento and more.
27
27
Just customize the makefile for your needs
28
28
29
-
Warning: Don't use this Docker containers for production - they are only for development. If you find it usefull for production please contact me.
29
+
Warning: There may be issues when using it in production - if you have any success stories please contact me.
30
30
31
31
Use can use my [Vagrant Development VM](https://github.com/mblaschke/vagrant-development) for this Docker boilerplate, eg. for easy creating new boilerplate installations with an easy shell command: `ct docker:create directory`
32
32
33
-
## Requirements
33
+
## Table of contents
34
34
35
-
- GNU/Linux with Docker (recommendation: Vagrant VM with Docker or native Linux with Docker)
If you want to run a Docker VM make sure you're using VMware or Parallels Desktop because of
41
-
the much faster virtualisation (networking, disk access, shared folders) compared to VirtualBox.
42
-
43
-
For more convenience use [CliTools.phar](https://github.com/mblaschke/vagrant-clitools) (will also run on native Linux, not only inside a Vagrant box)
44
-
45
-
## Docker short introduction
46
-
47
-
Create and start containers (eg. first start):
48
-
49
-
$ docker-compose up -d
50
-
51
-
Stop containers
52
-
53
-
$ docker-compose stop
54
-
55
-
Start containers (only stopped containers)
56
-
57
-
$ docker-compose start
58
-
59
-
Build (but not create and start) containers
60
-
61
-
$ docker-compose build --no-cache
62
-
63
-
Delete container content
64
-
65
-
$ docker-compose rm --force
66
-
67
-
Recreate containers (if there is any issue or just to start from a clean build)
68
-
69
-
$ docker-compose stop
70
-
$ docker-compose rm --force
71
-
$ docker-compose build --no-cache
72
-
$ docker-compose up -d
73
-
74
-
Logs (eg. for debugging)
75
-
76
-
$ docker-compose logs
77
-
78
-
# or only php
79
-
$ docker-compose logs main
80
-
81
-
# or only php and webserver
82
-
$ docker-compose logs main web
83
-
84
-
CLI script (defined in docker-env.yml)
85
-
86
-
$ docker-compose run --rm main cli help
87
-
88
-
89
-
## Create project
90
-
91
-
First create and run the Docker containers using [docker-compose](https://github.com/docker/compose):
92
-
93
-
$ docker-compose up -d
94
-
95
-
Now create the project:
96
-
97
-
-[Create new TYPO3 project](doc/README-TYPO3.md)
98
-
-[Create new NEOS project](doc/README-NEOS.md)
99
-
-[Create new Symfony project](doc/README-SYMFONY.md)
100
-
-[Running any other php based project](doc/README-OTHER.md)
This Docker layout is based on https://github.com/denderello/symfony-docker-example/
272
46
273
-
Thanks to [cron IT GmbH](http://www.cron.eu/) for the inspiration for this Docker boilerplate.
274
-
Also thanks to [Ingo Pfennigstorf](https://twitter.com/krautsock) and [Florian Tatzel](https://twitter.com/PanadeEdu) for testing and some usefull ideas.
0 commit comments