this post was submitted on 06 Jul 2023
46 points (88.3% liked)

Selfhosted

39937 readers
370 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

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?

you are viewing a single comment's thread
view the rest of the comments
[–] [email protected] 6 points 1 year ago (2 children)

If you're looking to set up a server quickly and easily, check out Lemmy Easy Deploy by ubergeek77. Just change the host name to your domain name in the config file and you're good to go.

If you're trying to access your home server from the internet, I recommend a cloudflare tunnel. Let me know if you need assistance! My dms are open

[–] [email protected] 1 points 1 year ago (1 children)

Is it possible to get this inside of Portainer?

[–] [email protected] 1 points 1 year ago

Yes, since Easy Deploy deploys using the docker container, lemmy will show up as a stack in portainer, just with limited editability

[–] [email protected] 1 points 1 year ago

I kept getting an error about lemmy ui has been moved. But I could make it with ./deploy.sh -w 0.18 -f