Using docker-compose and these volume settings :
volumes:
- '$PWD/data:/var/www/opentrashmail/data'
- '$PWD/logs:/var/www/opentrashmail/logs'
On start, the container exits and the logs show :
Starting Open Trashmail
[+] Starting php
[+] Starting nginx
[+] Setting up config.ini
[+] Starting Mailserver
-ash: can't create /var/www/opentrashmail/logs/mailserver.log: Permission denied
even though SKIP_FILEPERMISSIONS=true