frankenphp
frankenphp copied to clipboard
[QUESTION] About this docs config
Hi,
what would be the docker-compose for this?
but we can't expose the same port in app2
app1
ports:
- "80:80" # HTTP
- "443:443" # HTTPS
app2
ports:
- "80:80" # HTTP
- "443:443" # HTTPS
{
frankenphp {
worker /path/to/app/public/index.php <num>
worker /path/to/other/public/index.php <num>
}
}
app.example.com {
root * /path/to/app/public
php_server
}
other.example.com {
root * /path/to/other/public
php_server
}
Thank you in advance