Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Latest commit

 

History

6 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker for Messenger Symfony

Docker infrastructure for Messenger Symfony project.

Installation for local development environment

  • Install Docker and Docker-compose
  • Set PHP_ENABLE_XDEBUG to 1 in services/*/.env to enable XDebug in certain container (optional).
  • Build images by docker-compose build.
  • Start the project by docker-compose up -d.
  • Run composer install docker-compose exec core composer install
  • Create database docker-compose exec core php bin/console doctrine:database:create
  • Update schema docker-compose exec core php bin/console doctrine:schema:update --force
  • Run migration docker-compose exec core php bin/console doctrine:migrations:migrate
  • Run fixtures docker-compose exec core php bin/console doctrine:fixtures:load
  • Yarn install docker-compose exec core yarn install
  • Yarn build docker-compose exec core yarn encore dev
  • Open the project in a browser from URL localhost:8081.

External URLs

  • http://localhost:8081/ — Index page
  • localhost:3307 — Core database
  • localhost:9005 — XDebug remote port (if enabled in .env)

Internal URLs

  • http://nginx:80/ — Index page
  • db:3306 — Core database
  • <service>:9005 — XDebug remote port (if enabled in .env)

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages