At each run there will be a test for a certificate for the domain in APP_DOMAIN variable.
If the certificate does not exist, a new self sign certificate be created in:
To prevent the container from creating a new certificate at each run add a storage map to folder
If you don't need ssl you can use the mageinferno/magento2-nginx as this box is derived from it.
The following environment variables are used for Nginx configuration:
phpfpm) The hostname of the PHP container.
9000) The port of the PHP container.
default) Set the appropriate MAGE_MODE.
localhost) Set app domain name