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:
commit
de914d106f
|
@ -233,7 +233,7 @@ services:
|
||||||
### Laravel Application Code Container ######################
|
### Laravel Application Code Container ######################
|
||||||
|
|
||||||
volumes_source:
|
volumes_source:
|
||||||
build: ./volumes/application
|
image: tianon/true
|
||||||
volumes:
|
volumes:
|
||||||
- ../:/var/www/laravel
|
- ../:/var/www/laravel
|
||||||
# Demonstration of how to mount multiple sites
|
# Demonstration of how to mount multiple sites
|
||||||
|
@ -243,7 +243,7 @@ services:
|
||||||
### Databases Data Container ################################
|
### Databases Data Container ################################
|
||||||
|
|
||||||
volumes_data:
|
volumes_data:
|
||||||
build: ./volumes/data
|
image: tianon/true
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/mysql:/var/lib/mysql
|
- ./data/mysql:/var/lib/mysql
|
||||||
- ./data/postgres:/var/lib/postgres
|
- ./data/postgres:/var/lib/postgres
|
||||||
|
|
|
@ -1,7 +0,0 @@
|
||||||
FROM debian:jessie
|
|
||||||
|
|
||||||
MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
|
|
||||||
|
|
||||||
WORKDIR /var/www/laravel
|
|
||||||
|
|
||||||
CMD ["true"]
|
|
|
@ -1,5 +0,0 @@
|
||||||
FROM debian:jessie
|
|
||||||
|
|
||||||
MAINTAINER Mahmoud Zalt <mahmoud@zalt.me>
|
|
||||||
|
|
||||||
CMD ["true"]
|
|
Loading…
Reference in New Issue