Here is my configuration :
OS : Windows 10 Enterprise x64 [Version 10.0.14393]
Docker Toolbox: Docker version 1.12.5, build 7392c3b docker-compose version 1.9.0, build 2585387
My docker-compose.yml:
version: '2'
services:
wordpress:
image: wordpress:4.7.0-php7.0-fpm-alpine
links:
- "mysql:mysql-database"
ports:
- 8080:80
- 9000:9000
expose:
- "3306"
- "8080"
- "80"
environment:
WORDPRESS_DB_PASSWORD: example
mysql:
image: mysql
ports:
- 3306:3306
expose:
- "3306"
environment:
MYSQL_ROOT_PASSWORD: example
Starting up this with : docker-compose up -d
After this don't see wordpress installation page on http://192.168.99.100:8080/
If I change wordpress tag to 4.7.0-php7.0-apache then everything works fine .Is there bug in alpine wordpress image or I just need to open some ports?
this alpine image was made with just php-fpm and need to be used alongside with an webserver like nginx.
There is my approach:
In the docker-compose.yml
And the site.conf: