Version : '2' services : fpm : environment : COMPOSER_HOME : '/home/docker/.composer' # Declare where the Composer home folder will be IN THE CONTAINER volumes : - ~/.composer:/home/docker/.composer # Bind mount the Composer home folder of your host machine with the one of the FPM container node : environment : YARN_CACHE_FOLDER : '/home/node/.yarn-cache' # Declare where the Yarn cache folder will be IN THE CONTAINER volumes : - ~/.cache/yarn:/home/node/.yarn-cache # Bind mount the Yarn cache folder of your host machine with the one of the Node containers.
0 Comments
Leave a Reply. |