rename volumes_source to applications

This commit is contained in:
Mahmoud Zalt 2016-11-01 10:05:10 -04:00
parent 9ab6d8fa15
commit 146f8ea6f4
1 changed files with 7 additions and 7 deletions

View File

@ -4,7 +4,7 @@ services:
### Applications Code Container ############################# ### Applications Code Container #############################
volumes_source: applications:
image: tianon/true image: tianon/true
volumes: volumes:
- ../:/var/www - ../:/var/www
@ -29,7 +29,7 @@ services:
- NODE_VERSION=stable - NODE_VERSION=stable
- TZ=UTC - TZ=UTC
volumes_from: volumes_from:
- volumes_source - applications
extra_hosts: extra_hosts:
# IMPORTANT: Replace with your Docker Host IP (will be appended to /etc/hosts) # IMPORTANT: Replace with your Docker Host IP (will be appended to /etc/hosts)
- "dockerhost:10.0.75.1" - "dockerhost:10.0.75.1"
@ -52,7 +52,7 @@ services:
- CODEIGNITER=false - CODEIGNITER=false
dockerfile: Dockerfile-70 dockerfile: Dockerfile-70
volumes_from: volumes_from:
- volumes_source - applications
expose: expose:
- "9000" - "9000"
links: links:
@ -72,7 +72,7 @@ services:
args: args:
- PHP_UPSTREAM=php-fpm - PHP_UPSTREAM=php-fpm
volumes_from: volumes_from:
- volumes_source - applications
volumes: volumes:
- ./logs/nginx/:/var/log/nginx - ./logs/nginx/:/var/log/nginx
ports: ports:
@ -89,7 +89,7 @@ services:
args: args:
- PHP_SOCKET=php-fpm:9000 - PHP_SOCKET=php-fpm:9000
volumes_from: volumes_from:
- volumes_source - applications
volumes: volumes:
- ./logs/apache2:/var/log/apache2 - ./logs/apache2:/var/log/apache2
ports: ports:
@ -103,7 +103,7 @@ services:
hhvm: hhvm:
build: ./hhvm build: ./hhvm
volumes_from: volumes_from:
- volumes_source - applications
expose: expose:
- "9000" - "9000"
links: links:
@ -245,7 +245,7 @@ services:
caddy: caddy:
build: ./caddy build: ./caddy
volumes_from: volumes_from:
- volumes_source - applications
volumes: volumes:
- caddy:/root/.caddy - caddy:/root/.caddy
ports: ports: