I’m not exactly a linux beginner but I’m far from an expert and I could use some pointers. I have a domain and a VPS through Namecheap, I chose Ubuntu 20.04 LAMP and I’ve tried several guides to get this working but something always goes wrong sooner or later.
My latest attempt is to follow along with this guide: https://join-lemmy.org/docs/administration/install_docker.html
No errors until the docker-compose up -d command, then
ERROR: yaml.constructor.ConstructorError: while constructing a mapping in “./docker-compose.yml”, line 26, column 12 found unhashable key in “./docker-compose.yml”, line 26, column 13
which leads to image: {{ lemmy_docker_image }}
I guess I could start over with a different guide but I’m just chasing my tail at this point. Could any kind soul suggest where to go from here?
Dude, I’ve been having the exact same problem for the last few days and have been banging my head against the wall with it too. Thanks for posting this, I’m eagerly awaiting the responses you get
I hope we can both get this done :)
Have you tried using this instead?
I did, and got further than with the other guides but I couldn’t get the Lemmy page to load and the log was complaining about certificate issues.
I skimmed the guide you sent and the top says that the portions in brackets are placeholders and need to be replaced with real values. If you change
{{ lemmy_docker_image }}
to be the name of the image to usedessalines/lemmy:0.18.0
for example, do you get furtherI didn’t do that because I’m apparently a moron :)
I’m trying with
dessalines/lemmy:0.18.0 dessalines/lemmy-ui:0.18.0
In this section
# actual and only port facing any connection from outside # Note, change the left number if port 1236 is already in use on your system # You could use port 80 if you won't use a reverse proxy - "80:8536"
this fails with Error starting userland proxy: listen tcp4 0.0.0.0:80: bind: address already in use
I tried 8080 instead and got no errors but I wasn’t able to load the Lemmy page.
I can now get the “Apache2 Ubuntu Default Page - It works!” So that’s something.