Yes, the “down, up” sequence is destructive, so I lost my container with the modified
.htaccess file. I did that because trying to run wordpress right after changing the
.htaccess file resulted with the server error with some very generic error message.
I suspect that my editing the
.htaccess file with nano caused the crash since for some unknown reason I was not able to insert a new line - nano behaved as if it is in the “overwrite mode”.
Would it not be better to create a modified wordpress image before running the “docker compose” and then change the YAML file and run the “docker compose” which uses this modified wordpress image?
This modified wordpress image could be alse created a bit less lean, to include nano editor for example