make sure exposed port is accessible by localhost only

This commit is contained in:
2020-01-15 17:07:36 -06:00
parent fa73d6cedb
commit 2b9340d951

View File

@@ -3,11 +3,11 @@ services:
php-apache:
image: php:7.4-apache
ports:
- "8090:80"
- "127.0.0.1:8090:80"
volumes:
- "./DocRoot:/var/www/html"
links:
- 'mariadb'
- "mariadb"
mariadb:
image: mariadb:10.1