I have 3 Docker containers(nginx, php and mysql) bundled together via docker-compose.
In /etc/nginx/sites-enabled I have .conf files for 2 websites.
magento2.loc > magento2.conf
pma.loc > pma.conf
On the host(Ubuntu) I modified /etc/hosts accordingly.
127.0.0.1 > magent2.loc
127.0.0.1 > pma.loc
docker-compose.yml
version: '2'
services:
nginx:
(...)
links:
- php
(...)
php:
(...)
After running docker-compose up, server log in console shows:
- response from php and nginx for magento2.loc < correct
- but only response from nginx(no php) from pma.loc < incorrect
How do I make pma.loc work with PHP? Do I need multiple PHP containers for that?
