Add .env
This commit is contained in:
@@ -14,7 +14,7 @@ services:
|
||||
image: eroncero/multi-php-fpm
|
||||
restart: unless-stopped
|
||||
environment:
|
||||
- PHP_VERSIONS=7.2 7.1
|
||||
- PHP_VERSIONS=${PHP_VERSIONS} # Inherits from .env
|
||||
volumes:
|
||||
- ./multi-php-fpm/etc/php:/etc/php
|
||||
- ./multi-php-fpm/run/php:/run/php
|
||||
|
@@ -1,6 +1,9 @@
|
||||
#!/bin/sh
|
||||
set -e
|
||||
|
||||
export DEBIAN_FRONTEND=noninteractive
|
||||
export DEBCONF_NONINTERACTIVE_SEEN=true
|
||||
|
||||
apt-get update
|
||||
|
||||
for version in $PHP_VERSIONS; do
|
||||
|
Reference in New Issue
Block a user