• 1 Post
  • 4 Comments
Joined 1 year ago
cake
Cake day: June 16th, 2023

help-circle
  • 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?



  • Also, whichever configuration files you use make sure to check that the ports are the same in all of them! I don’t know if it’s fixed now, but when I was setting mine up the docker-compose.yml and the nginx.conf file given in the join-docker instructions had different port numbers for the same service (I think one still used 1234 for lemmy-ui and one had been changed to 1236), so you still wouldn’t be able to connect to it even if you got it running.



  • 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!