Create and start containers (eg. first start):
# copy favorite docker-compose.*.yml to docker-compose.yml
cp docker-compose.development.yml docker-compose.yml
docker-compose up -d
Stop containers
docker-compose stop
Start containers (only stopped containers)
docker-compose start
Build (but not create and start) containers
docker-compose build --no-cache
Delete container content
docker-compose rm --force
Recreate containers (if there is any issue or just to start from a clean build)
docker-compose stop
docker-compose rm --force
docker-compose build --no-cache
docker-compose up -d
Logs (eg. for debugging)
# show all logs
docker-compose logs
# ... or only php
docker-compose logs main
# ... or only main and mysql
docker-compose logs main mysql
CLI script (defined in etc/environment*.yml)
docker-compose run --rm main cli help