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:
 | 
					  nginx-srv:
 | 
				
			||||||
    image: eroncero/nginx-srv
 | 
					    image: eroncero/nginx-srv
 | 
				
			||||||
    ports:
 | 
					    ports:
 | 
				
			||||||
      - "127.0.0.1:8888:80"
 | 
					      - "127.0.0.1:${NGINX_HTTP_PORT}:${HOST_HTTP_PORT}"
 | 
				
			||||||
      - "[::1]:8843:443"
 | 
					      - "[::1]:${NGINX_HTTPS_PORT}:${HOST_HTTPS_PORT}"
 | 
				
			||||||
    restart: unless-stopped
 | 
					    restart: unless-stopped
 | 
				
			||||||
    volumes:
 | 
					    volumes:
 | 
				
			||||||
      - ./nginx-srv/sites-available:/etc/nginx/sites-available
 | 
					      - ./nginx-srv/sites-available:/etc/nginx/sites-available
 | 
				
			||||||
@@ -14,7 +14,7 @@ services:
 | 
				
			|||||||
    image: eroncero/multi-php-fpm
 | 
					    image: eroncero/multi-php-fpm
 | 
				
			||||||
    restart: unless-stopped
 | 
					    restart: unless-stopped
 | 
				
			||||||
    environment:
 | 
					    environment:
 | 
				
			||||||
      - PHP_VERSIONS=7.2 7.1
 | 
					      - PHP_VERSIONS=${PHP_VERSIONS}  # Inherits from .env
 | 
				
			||||||
    volumes:
 | 
					    volumes:
 | 
				
			||||||
      - ./multi-php-fpm/etc/php:/etc/php
 | 
					      - ./multi-php-fpm/etc/php:/etc/php
 | 
				
			||||||
      - ./multi-php-fpm/run/php:/run/php
 | 
					      - ./multi-php-fpm/run/php:/run/php
 | 
				
			||||||
 
 | 
				
			|||||||
@@ -1,6 +1,9 @@
 | 
				
			|||||||
#!/bin/sh
 | 
					#!/bin/sh
 | 
				
			||||||
set -e
 | 
					set -e
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					export DEBIAN_FRONTEND=noninteractive
 | 
				
			||||||
 | 
					export DEBCONF_NONINTERACTIVE_SEEN=true
 | 
				
			||||||
 | 
					
 | 
				
			||||||
apt-get update
 | 
					apt-get update
 | 
				
			||||||
 | 
					
 | 
				
			||||||
for version in $PHP_VERSIONS; do
 | 
					for version in $PHP_VERSIONS; do
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user