Add support to specify a port (#86)

* Update env.example

* Update docker-compose.yml

* Change default port at .env.example to 80
This commit is contained in:
Rafael Francisco
2023-02-13 11:00:28 +01:00
committed by GitHub
parent f3039debdd
commit 0d0256a56b
2 changed files with 3 additions and 2 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ services:
wp:
image: wordpress:latest # https://hub.docker.com/_/wordpress/
ports:
- ${IP}:80:80 # change ip if required
- ${IP}:${PORT}:80 # change ip if required
volumes:
- ./config/php.conf.ini:/usr/local/etc/php/conf.d/conf.ini
- ./wp-app:/var/www/html # Full wordpress project
+2 -1
View File
@@ -1,3 +1,4 @@
IP=127.0.0.1
PORT=80
DB_ROOT_PASSWORD=password
DB_NAME=wordpress
DB_NAME=wordpress