ide_in_docker
1.0.0
Настраивать
# build containers docker-compose build --build-arg UID=$(id -u) # setup composer mkdir -m 0777 service/src/vendor docker-compose -f docker-compose.yml -f docker-compose-tasks.yml run -u $(id -u) --rm composer # start containers docker-compose up # stop containers docker-compose down
docker-compose -f docker-compose.yml -f docker-compose-tasks.yml run -u $(id -u) --rm psalm docker-compose -f docker-compose.yml -f docker-compose-tasks.yml run -u $(id -u) --rm phpcsfixer
docker-compose -f docker-compose.yml -f docker-compose-tasks.yml run -u $(id -u) --rm phpunit
http://127.0.0.1:8000/?folder=/var/www (VS-Code IDE, hit Crtl+Shift+t to run tasks) http://127.0.0.1:8080/service (API endpoint, index.php)