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?

  • IchNichtenLichten@lemmy.worldOP
    link
    fedilink
    English
    arrow-up
    2
    ·
    1 year ago

    I looked at that one and got confused about how Ansible works. Am I to run those install commands locally or on the VPS? Thanks!

    • manitcor@lemmy.intai.tech
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      1 year ago

      ansible is an automation tool, it does all the things you would do manually, ssh, run commands, etc etc. The files provided bascially have it generate scripts that get pushed to the host and run. it can be run on a remote host or run on the machine you want to install on. either works.

      • IchNichtenLichten@lemmy.worldOP
        link
        fedilink
        English
        arrow-up
        1
        ·
        1 year ago

        I’m going to start over, I remember I had a few issues with PATH when installing Ansible on a different Mac. I think I can figure them out now.