System of AVC
To publish ports copy docker-compose.override.yml.sample
to docker-compose.override.yml
Then nginx will be available at https://localhost:8001 / http://localhost:8000 and adminer at http://localhost:8010
bin/start-docker-dev.sh
docker-compose exec php <command>
docker-compose exec php bin/console
- Workdir is set to
/src
, where the current project folder is mounted. - creating alias is recomanded
alias svc="docker-compose exec php"
Self-signed certs generated for:
DNS.1 = *.savec.local
DNS.2 = savec.local
DNS.3 = *.savec.dev
DNS.4 = savec.dev
DNS.5 = *.savec.docker
DNS.6 = savec.docker
Root cert at docker/dev/nginx
.
For editing docker setup on your local machine use docker-compose.override.yml
see Docker docs
docker-compose pause
- just pauses all running processes inside containers
docker-compose stop
- stops all containers
docker-compose down
- stops & removes all containers & networks
- volumes are not removed