This docker environment is build as a wrapper for the sulu/sulu-minimal and will allow isolated development.
- Nginx
- Mysql
- PHP-FPM (with synced application code)
- Elasticsearch
- Kibana
- Logstash
- Autoconfiguration of environment (Nginx, MySQL and PHP-FPM)
- Synchronization of application code to improve performance
- TMP-Volume for symfony cache
- ELK stack for log processing (nginx logs and symfony logs)
- XDebug
- Blackfire
app.dev:10080
: Sulu-Websiteapp.dev:10080/admin
: Sulu-Adminapp.dev:19200
: Elasticsearchapp.dev:15601
: Kibanaapp.dev:19600
: Logstash
git clone https://github.com/wachterjohannes/sulu-docker
cd sulu-docker
composer create-project "sulu/sulu-minimal" app
docker-sync-stack start
docker-compose exec php bash
bin/adminconsole sulu:build dev --destroy
app
: contains application filesconfig
: configuration for docker containersvar/data
: folder for application related datavar/logs
: log files of different servicesvar/tmp
: temporary files of application
rm -rf var/cache/*
only inside container?- Sometimes you have to hard clear the cache (maybe permissions?)
- Development outside of container?
- PHP and composer are required then also