I am used to simple things running on Docker (Jellyfin, Nextcloud, etc.) I am looking at running my own personal Mastodon instance (maybe share it with a few friends and family), but I like using Docker. Looking at install guides, the steps required seem to be much harder than just editing docker-compose.yml and running the container. Is it actually that difficult to set up Mastodon, or is there a better guide? I can’t just use Yunohost/CasaOS because I am using a VPS to host this.

  • helenslunch@feddit.nl
    link
    fedilink
    English
    arrow-up
    5
    ·
    2 months ago

    I can’t just use Yunohost/CasaOS because I am using a VPS to host this.

    What does one have to do with the other?

      • chiisana@lemmy.chiisana.net
        link
        fedilink
        English
        arrow-up
        1
        ·
        2 months ago

        Most providers offer some kind of OS reload and you may be able to use custom ISOs for the process. However, that doesn’t change the fact that if you don’t want to change OS (especially if you’re already using something more commonly seen in production environments like Debian), then you shouldn’t change the OS.

  • sfunk1x@lemmy.world
    link
    fedilink
    English
    arrow-up
    4
    ·
    edit-2
    2 months ago

    I’m running the mastodon stack in docker via a compose file. It was straight forward. Follow the instructions to the letter and it will work.

    I will say that it is in your best interest to have an automated update process happen, either manually (via cron) multiple times a day or have some kind of orchestration layer that manages updating the component images once they are released. Mastodon has had some nasty 0 day bugs that involved account and server takeover that had to be fixed immediately, and you don’t want to lag very far behind in those cases.

    Edit:

    Docker compose from their repo:

    https://github.com/mastodon/mastodon/blob/main/docker-compose.yml

    • Fisch@discuss.tchncs.de
      link
      fedilink
      English
      arrow-up
      4
      ·
      2 months ago

      There’s a project called Watchtower that is specifically for auto-updating docker-compose containers

      • breadsmasher@lemmy.world
        link
        fedilink
        English
        arrow-up
        2
        ·
        edit-2
        2 months ago

        You will need to review all the required variables and configure as you require. But basically, yeah

        EDIT - NO

        its not just grab and run. From the docs,

        This container requires separate postgres and redis instances to run.