Skip to content

Latest commit

 

History

History
37 lines (24 loc) · 1.41 KB

DOCKER-STARTUP.md

File metadata and controls

37 lines (24 loc) · 1.41 KB

<-- Back to main section

First startup

Create project

Checkout this project and create and run the Docker containers using docker-compose:

git clone https://github.com/webdevops/TYPO3-docker-boilerplate.git projectname
cd projectname

# copy favorite docker-compose.*.yml to docker-compose.yml
cp docker-compose.development.yml docker-compose.yml

docker-compose up -d

Now create your project inside the docker boilerplate:

For an existing project just put your files into app/ folder or use git to clone your project into app/.

Advanced usage (git)

Use this boilerplate as template and customize it for each project. Put this Docker configuration for each project into separate git repositories.

Now set your existing project repository to be a git submodule in app/. Every developer now needs only to clone the Docker repository with --recursive option to get both, the Docker configuration and the TYPO3 installation.

For better usability track a whole branch (eg. develop or master) as submodule and not just a single commit. This requires git v1.8.2+.