$ git clone https://github.com/someson/phalcon4-docker.git
$ docker-compose up -d --build
- add to your
[...]/etc/hosts
127.0.0.1 phalcon4.test
$ docker exec -it p4-app ./vendor/bin/codecept run
or (equal)
$ docker-compose exec app-service ./vendor/bin/codecept run
$ docker-compose exec app-service ./vendor/bin/phalcon serve
or "detached":
$ docker-compose exec -d app-service ./vendor/bin/phalcon serve