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: php-apache:
image: php:7.4-apache image: php:7.4-apache
ports: ports:
- "8090:80" - "127.0.0.1:8090:80"
volumes: volumes:
- "./DocRoot:/var/www/html" - "./DocRoot:/var/www/html"
links: links:
- 'mariadb' - "mariadb"
mariadb: mariadb:
image: mariadb:10.1 image: mariadb:10.1