Added hostnames
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
services:
|
services:
|
||||||
nginx-srv:
|
nginx-srv:
|
||||||
image: eroncero/nginx-srv:latest
|
image: eroncero/nginx-srv:latest
|
||||||
|
hostname: nginx-srv
|
||||||
build:
|
build:
|
||||||
context: ./nginx-srv
|
context: ./nginx-srv
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
@@ -18,6 +19,7 @@ services:
|
|||||||
|
|
||||||
multi-php-fpm:
|
multi-php-fpm:
|
||||||
image: eroncero/multi-php-fpm
|
image: eroncero/multi-php-fpm
|
||||||
|
hostname: multi-php-fpm
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
environment:
|
environment:
|
||||||
- PHP_VERSIONS=${PHP_VERSIONS} # Inherits from .env
|
- PHP_VERSIONS=${PHP_VERSIONS} # Inherits from .env
|
||||||
@@ -28,6 +30,7 @@ services:
|
|||||||
|
|
||||||
mariadb-srv:
|
mariadb-srv:
|
||||||
image: eroncero/mariadb-srv:latest
|
image: eroncero/mariadb-srv:latest
|
||||||
|
hostname: mariadb-srv
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- ./mariadb-srv/var/lib/mysql:/var/lib/mysql
|
- ./mariadb-srv/var/lib/mysql:/var/lib/mysql
|
||||||
|
Reference in New Issue
Block a user