Compare commits
2 Commits
cf8c4e9d09
...
24bdc06190
Author | SHA1 | Date | |
---|---|---|---|
![]() |
24bdc06190 | ||
![]() |
7b673ca598 |
5
.env
Normal file
5
.env
Normal file
@@ -0,0 +1,5 @@
|
||||
HOST_HTTP_PORT=80
|
||||
HOST_HTTPS_PORT=443
|
||||
NGINX_HTTP_PORT=8888
|
||||
NGINX_HTTPS_PORT=8843
|
||||
PHP_VERSIONS=7.2 7.1 # Set this without quotes!
|
@@ -2,8 +2,8 @@ services:
|
||||
nginx-srv:
|
||||
image: eroncero/nginx-srv
|
||||
ports:
|
||||
- "127.0.0.1:8888:80"
|
||||
- "[::1]:8843:443"
|
||||
- "127.0.0.1:${NGINX_HTTP_PORT}:${HOST_HTTP_PORT}"
|
||||
- "[::1]:${NGINX_HTTPS_PORT}:${HOST_HTTPS_PORT}"
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./nginx-srv/sites-available:/etc/nginx/sites-available
|
||||
@@ -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