Added human readable hostnames
This commit is contained in:
+1
-1
Submodule backend updated: 453ecef4e8...b1c42fc394
+7
-3
@@ -59,7 +59,9 @@ services:
|
|||||||
PHP_VERSION: ${PHP_VERSION}
|
PHP_VERSION: ${PHP_VERSION}
|
||||||
image: european-airports/api-php-fpm
|
image: european-airports/api-php-fpm
|
||||||
restart: always
|
restart: always
|
||||||
env_file: ./php-fpm/php.env
|
env_file:
|
||||||
|
- ./php-fpm/php.env
|
||||||
|
- ./backend/php.env
|
||||||
volumes:
|
volumes:
|
||||||
- ./backend/src/:/var/www/html
|
- ./backend/src/:/var/www/html
|
||||||
networks:
|
networks:
|
||||||
@@ -76,7 +78,7 @@ services:
|
|||||||
image: european-airports/www-nginx
|
image: european-airports/www-nginx
|
||||||
restart: always
|
restart: always
|
||||||
ports:
|
ports:
|
||||||
- 8080:80
|
- 8081:80
|
||||||
depends_on:
|
depends_on:
|
||||||
- frontend-php
|
- frontend-php
|
||||||
env_file:
|
env_file:
|
||||||
@@ -95,7 +97,9 @@ services:
|
|||||||
PHP_VERSION: ${PHP_VERSION}
|
PHP_VERSION: ${PHP_VERSION}
|
||||||
image: european-airports/www-php-fpm
|
image: european-airports/www-php-fpm
|
||||||
restart: always
|
restart: always
|
||||||
env_file: ./php-fpm/php.env
|
env_file:
|
||||||
|
- ./php-fpm/php.env
|
||||||
|
- ./frontend/php.env
|
||||||
volumes:
|
volumes:
|
||||||
- ./frontend/src/:/var/www/html
|
- ./frontend/src/:/var/www/html
|
||||||
networks:
|
networks:
|
||||||
|
|||||||
+1
-1
Submodule frontend updated: 4e94a3b359...27bef3bd67
@@ -30,7 +30,7 @@ server {
|
|||||||
listen 80;
|
listen 80;
|
||||||
root /var/www/html;
|
root /var/www/html;
|
||||||
server_name ${NGINX_HOST}
|
server_name ${NGINX_HOST}
|
||||||
index index.php;
|
index index.php index.htm;
|
||||||
|
|
||||||
location ~ \.php$ {
|
location ~ \.php$ {
|
||||||
include fastcgi_params;
|
include fastcgi_params;
|
||||||
@@ -41,7 +41,7 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
try_files $uri $uri/ /index.php?$query_string;
|
try_files $uri $uri/ /index.php?$query_string =404;
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user