Permalink
Browse files

Added ad hoc lsyncd container for vendor-directory

  • Loading branch information...
DracoBlue committed Apr 7, 2017
1 parent c2de885 commit 4a20301c4ad83fbfe35a138323c70afbeab67cff
Showing with 13 additions and 3 deletions.
  1. +13 −3 docker-compose.yml
View
@@ -12,8 +12,8 @@ services:
- nginx
php-fpm:
image: exozet/php-fpm:7.1.2
volumes:
- ./:/usr/src/app
volumes_from:
- lsyncd
nginx:
image: nginx:1.11.10
depends_on:
@@ -22,4 +22,14 @@ services:
- "8080:8080"
volumes:
- ./:/usr/src/app
- ./.docker/nginx.conf:/etc/nginx/conf.d/default.conf
- ./.docker/nginx.conf:/etc/nginx/conf.d/default.conf
lsyncd:
image: dracoblue/lsyncd
environment:
- SOURCES=/mnt/vendor
- DESTINATIONS=/usr/src/app/vendor
- EXCLUDES=.svn:.git:.docker
volumes:
- ./:/usr/src/app
- ./vendor:/mnt/vendor
- /usr/src/app/vendor

0 comments on commit 4a20301

Please sign in to comment.