Merge pull request #262 from computerfr33k/260-reduce-data-only-volume-size

use docker image which only supplies true & echo binaries.
This commit is contained in:
Mahmoud Zalt 2016-08-30 11:01:33 +03:00 committed by GitHub
commit de914d106f
3 changed files with 2 additions and 14 deletions

View File

@ -233,7 +233,7 @@ services:
### Laravel Application Code Container ######################
volumes_source:
build: ./volumes/application
image: tianon/true
volumes:
- ../:/var/www/laravel
# Demonstration of how to mount multiple sites
@ -243,7 +243,7 @@ services:
### Databases Data Container ################################
volumes_data:
build: ./volumes/data
image: tianon/true
volumes:
- ./data/mysql:/var/lib/mysql
- ./data/postgres:/var/lib/postgres

View File

@ -1,7 +0,0 @@
FROM debian:jessie
MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
WORKDIR /var/www/laravel
CMD ["true"]

View File

@ -1,5 +0,0 @@
FROM debian:jessie
MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
CMD ["true"]