I think I had that same error regarding numbers and strings: if you’re using that docker-compose file you need to put “” quotation marks around the number 4 in line 7, so it reads max-file: “4”
You’re probably better off using the docker-compose.yml from the Ansible repo as your starting point and working from there, the one in the main repo is a bit of a mess as it’s being actively worked on at the minute.
Exactly, I’ve spent ages yesterday and today trying to piece together a set of configs that all work together. I thought it must have been me missing something because the last time I did it everything worked exactly as described in the documentation and it took about ten minutes to get a working instance up and running, but not this time!
It helps slightly (slightly!) if you refer to the configs from the last release rather than the ones on the main branch that are constantly being changed, but even then you’ll have to maybe use the docker-compose.yml from the Ansible repo if you don’t want to build nginx as part of the docker install.
Got there in the end though!
Brief update to this, I changed the mariadb and redis images in the docker-compose to use the images from zknt as well (instead of whatever is in the one on the Pixelfed github), now it still doesn’t work but it’s throwing mysql errors instead of pgsql ones. So that’s an improvement I suppose.
Going to wipe everything and start again, but I suspect I’ll end up just building it all myself at this rate.
Related question: Does anyone know if it’s still possible to build the apps inside Docker? There was a commit months ago which removed the build section fron the docker-compose.yml and replaced it with an image (which apparently doesn’t exist), if I re-add that is the existing Dockerfile still going to work for building? Or has that been dropped now?