- create and run docker images for all server dependencies (mysql, mailhog):
docker-compose -f etc/docker/docker-compose.yml up
- create and run the docker image for the server (copies the local version):
docker-compose -f etc/docker/docker-compose-dev.yml up
- create and run docker images for the server (clones the latest version) and all its dependencies:
docker-compose -f etc/docker/docker-compose-prod.yml up --build
- create and run the docker image for the client on port 80:
docker-compose -f etc/docker/docker-compose-frontend.yml up --build
-
to connect to the dockerized server with the
mysql
client run:docker-compose exec mysql mysql -u root -p
-
in order to remove the volumes (eg. the database volume) associated with a compose file run:
docker-compose -f etc/docker/docker-compose.yml down -v
- you can use Mailhog to test email sending/receiving:
- to check all sent emails from the server go to
http://localhost:8025
.
- to check all sent emails from the server go to