docker
docker copied to clipboard
Cannot mount config directory getting http 500 error
When I uncomment the ./config and ./logs volumes it's giving me http 500 error, I was trying to change the config.php.ini file,
Any idea what's wrong? Also tried creating the config and log folders before running `docker-compose up' - still its not working.
# - ./config:/var/www/html/config:rw
# - ./logs:/var/www/html/logs
- matomo:/var/www/html
Same problem here:

Encountered same issue when I mounted a custom config.ini.php.
Unmounting and deleting config.ini.php restores the startup wizard that will regenerate this file after db setup step.
It seems that there is no way to provide a custom configuration before the database and config.ini.php file is initialized. After that, I have to manually edit this file to add my custom config... not container friendly.