Note 1: Please use next make commands in order to enter in other containers: make ssh-nginx, make ssh-supervisord, make ssh-mysql. env.prod, edit necessary environment variable value.Ĥ.Build, start and install the docker images from your terminal: make build-prodĥ.Make sure that you have installed migrations: make migrate-no-testĦ.Set key for application: make key-generate Getting shell to containerĪfter application will start ( make start) and in order to get shell access inside laravel container you can run following command: make ssh Note: If you want to change default docker configurations (web_port, etc.) - create uncommitted. env.staging, edit necessary environment variable value.Ģ.Build, start and install the docker images from your terminal: make build-stagingģ.Make sure that you have installed migrations: make migrate-no-testĤ.Set key for application: make key-generate Setting up PROD environment locallyĢ.Edit docker-compose-prod.yml and set necessary user/password for MySQL.ģ.Edit env.prod and set necessary user/password for MySQL. Note: Delete storage/mysql-data and vendor folder if it is exists. env file, edit necessary environment variable value and stop, rebuild, start docker containers.ĥ.Make sure that you have installed migrations/seeds: make migrateĦ.Set key for application: make key-generateħ.Check and open in your browser next url: Setting up STAGING environment locally Note: If you want to change default docker configurations (web_port, etc.) - open. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |