phpfpm:
    build: php-fpm/
    volumes:
        - ..:/var/www/z-push
nginx:
    build: nginx/
    volumes:
        - ..:/var/www/z-push
    links:
        - phpfpm:zpushphpfpm
    ports:
        - "80:80"
        - "443:443"
phpfpm:
    build: php-fpm/
    volumes:
        - ..:/var/www/z-push:Z
nginx:
    build: nginx/
    volumes_from:
        - phpfpm
    links:
        - phpfpm:zpushphpfpm
    ports:
        - "80:80"
        - "443:443"

Use volumes_from Set Z context for Selinux enabled distributions.
chore(docker): Use volumes_from
Set Z context for Selinux enabled distributions.

Requires docker 1.7 or 1.6 (in CentOS/Fedora).

Signed-off-by: Francisco Miguel Biete <1d85ea0d1a60a438fd84497dece37a4d29dd6409@gmail.com>
<fmbiete@gmail.com>
