Reduced port exposure to localhost

This commit is contained in:
2020-12-27 23:12:09 +01:00
parent dddb3fffc3
commit 51fbc67a04
10 changed files with 10 additions and 10 deletions

View File

@@ -16,7 +16,7 @@
image: wordpress
restart: always
ports:
- "{{http_port}}:80"
- "127.0.0.1:{{http_port}}:80"
environment:
WORDPRESS_DB_HOST: database:3306
WORDPRESS_DB_USER: "wordpress"