Skip to content

Docker based dev env for simple-planner-client and planner-gql-api

Notifications You must be signed in to change notification settings

andreyserdjuk/planner-dev-env

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dev env for planner application:

It's client-server application contains from two independent parts:

Setup:

Add hosts:
127.0.0.1 api.planner.local app.planner.local

Start docker containers:

cd ..
git clone [email protected]:andreyserdjuk/planner-gql-api.git planner
git clone [email protected]:andreyserdjuk/simple-planner-client.git planner-client

cd -
docker-compose up -d
docker-compose exec -u docker fpm bin/console do:da:cre
docker-compose exec -u docker fpm bin/console do:mi:mi
docker-compose exec -u docker fpm bin/console do:fi:lo

Disable xdebug in container

docker-compose exec fpm bash -c 'sed -i -e "s/^zend_e/;zend_e/g" /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini'
docker-compose restart fpm

Enable xdebug in container

docker-compose exec fpm bash -c 'sed -i -e "s/^;zend_e/zend_e/g" /usr/local/etc/php/conf.d/docker-php-ext-xdebug.ini'
docker-compose restart fpm

About

Docker based dev env for simple-planner-client and planner-gql-api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published