getrector.org Website
docker-compose up
Voilá!
- Web: localhost:8080
- Adminer: localhost:8081 (host:
mysql
, user:root
, pass:root
) - Mailhog: localhost:8025
MySQL is published to localhost on port 3307.
- Use
.env.local
to customize environment variables. - Use
docker-compose.override.yml
to customize Docker setup.
To change published MySQL port use:
GETRECTOR_ORG_MYSQL_PORT=33306 docker-compose up
If you want to use xdebug, here is example docker-compose.override.yml
that will enable xdebug (do not forget to change ip address):
version: "3.7"
services:
web:
build:
context: .
target: xdebug
dockerfile: Dockerfile
environment:
XDEBUG_CONFIG: "client_host=172.16.165.1"
PHP_IDE_CONFIG: "serverName=getrector_org"
Then re-build your image so it contains xdebug extension:
docker-compose down
docker-compose up --build
Sometimes, you might have outdated Docker images locally, to update, please run:
bin/pull-docker-images.sh