franchisepaster.blogg.se

Mastodon linux
Mastodon linux








  1. #MASTODON LINUX INSTALL#
  2. #MASTODON LINUX SOFTWARE#

Look at Peertube’s docker-compose file for some inspiration. The mail issue can be avoided by a) using a SaaS such as (mailgun/mailjet/sendinblue) or b) using another Docker container with postfix that is in the frontend network as well. Eventually, I solved it with an extra filewall rule: ufw allow proto tcp from any to 172.17.0.1 port 25. Its server-side technology is powered by Ruby on Rails and Node.js, and its front end is written in React.js and Redux.

#MASTODON LINUX SOFTWARE#

I had much problems to let the mastodon container connect to a mail transport agent (MTA) of my host. Mastodon is written as a free, web-based software for federated microblogging, which anybody can contribute code to, and which anyone can run on their own server infrastructure, if they wish, or join servers run by other people within the fediverse network. # subsequent times: skip generation of config and only setup databaseĭocker compose run -rm -v $( pwd )/:/opt/mastodon/.env.production web bundle exec rake db:setupĭocker-compose run -rm crossposter-web bundle exec rake db:setupĭocker compose run -d # look into the logs, -f for live logs # first time: setup mastodon # (on RUBYOPT)ĭocker compose run -rm -v $( pwd )/:/opt/mastodon/.env.production -e RUBYOPT = -W0 web bundle exec rake mastodon:setup If the instance has been setup before, a database setup may be enough. With these file in place, create a few more folders and launch the setup of the instance. env # helps crossposter resolve the mastodon server internally hostname : " $ < 600`

mastodon linux

caddy/logs:/logs - mastodon-public:/srv/mastodon/public:ro env_file . 2.62K Posts, 30 Following, 8. # file: 'docker-compose.yml' version : " 3.7" services : caddy : image : caddy:2-alpine restart : unless-stopped container_name : caddy ports : - " 80:80" - " 443:443" volumes :.

  • Consider to replace the git repository to build the crossposter with a local copy for more control over updates.
  • Using extra_host, we expose with ":host-gateway" the Docker host to the Mastodon Sidekiq container in case that you configure Mastodon to use a mail transfer agent (e.g. Remove it from the docker-compose.yml in case you have no use for it. You need to setup an extra subdomain for it. The setup comes with the Mastodon Twitter Crossposter. Caddy serves directy static files for improved speed. We use a named volume mastodon-public to expose the static files from the mastodon-web container to the Caddy webserver. The setup places all databases and uploaded files in the folder mastodon.

    mastodon linux

    With little effort, we enable as well full-text search with elasticsearch. , because I prefer to rely on the official images from Docker Hub. Otherwise, youll need to clone the source code from the plugins git repo and build it from source: git clone.

    #MASTODON LINUX INSTALL#

    In that case, you can just install it with your package manager. This plugin is already packaged for Debian and other distributionslook for the bitlbee-mastodon package. FRONTEND_SUBNET = "172.22.0.0/16" # check the latest version here: MASTODON_VERSION =v3.4.6 The first step is to install the Mastodon Bitlbee Plugin.










    Mastodon linux