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:
+1
-1
@@ -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
@@ -1,3 +1,4 @@
|
||||
IP=127.0.0.1
|
||||
PORT=80
|
||||
DB_ROOT_PASSWORD=password
|
||||
DB_NAME=wordpress
|
||||
DB_NAME=wordpress
|
||||
|
||||
Reference in New Issue
Block a user