docker-compose pull
docker-compose up -d --build
docker-compose up -d
docker-compose stop
docker-compose down
By default, the local development environment is launched. To run a test or production environment, you need to specify the appropriate docker-compose file
docker-compose up -d --build -f docker-compose.stage.yml
docker-compose up -d --build -f docker-compose.prod.yml
- php-fpm 8 alpine
- nginx 1.23 alpine
- mysql 8
- redis 7.0 alpine
- node js 18 alpine
- mailcatcher
Or you can add it to /etc/hosts
under the desired domains (example for local environment):
127.0.0.1 tarrissarh.local
Add to /etc/hosts to specify base project domains (example for local environment):
127.0.0.1 api.tarrissarh.local