Skip to content

Commit

Permalink
Added ad hoc lsyncd container for vendor-directory
Browse files Browse the repository at this point in the history
  • Loading branch information
DracoBlue committed Apr 7, 2017
1 parent c2de885 commit 4a20301
Showing 1 changed file with 13 additions and 3 deletions.
16 changes: 13 additions & 3 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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.