No Description
Julien Lavergne 2d9228b2f7 Update to 2.5.2 2 months ago
postgres Add postgres docker-compose.yml 1 year ago
redis Add redis docker-compose.yml 1 year ago
rootfs Properly move assets at startup 3 months ago
.dockerignore Add .dockerignore 8 months ago
.env.production.example Update docker-compose.yml and add some simpler examples 1 year ago
.gitignore Update .gitignore 8 months ago
Dockerfile Update to 2.5.2 2 months ago
Dockerfile.arm64 Add a note about multi-arch images from Alpine and the common Dockerfile 8 months ago
Dockerfile.rpi Add a note about multi-arch images from Alpine and the common Dockerfile 8 months ago
LICENSE Add LICENCE and blank README.md 1 year ago
README.md Update README.md 8 months ago
docker-compose.yml Add example to create the external volume to local directory 3 months ago
docker-compose.yml.example Update docker-compose.yml and add some simpler examples 1 year ago
docker_entrypoint.sh Update to 1.4.1 1 year ago
run-daily.sh Add run-daily.sh script to run daily task 1 year ago
service.yml.example Update docker-compose.yml and add some simpler examples 1 year ago

README.md

Mastodon - Docker ARM builds for Raspberry PI

Docker StarsDocker PullsDocker ImageVersion

About Mastodon

Mastodon is a free, open-source social network server. A decentralized solution to commercial platforms, it avoids the risks of a single company monopolizing your communication. Anyone can run Mastodon and participate in the social network seamlessly.

An alternative implementation of the GNU social project. Based on ActivityStreams, Webfinger, PubsubHubbub and Salmon.

ARM build, for Raspberry PI

Based on upstream version of Dockerbuild. See Tags for the versions available.

Features

  • Alpine 3.7
  • NodeJS 8.9.3
  • Ruby 2.4.3

How to use

Starting from 1.4.3, this image is based on Wonderfall image, instruction are here.

This is quick How-To, to make your instance working :

  • Clone this git repository
  • Copy .env.production.example to .env.production
  • Use the docker-compose.yml.example as a starting point (you can copy it to docker-compose.yml and run it unmodified, for testing)
  • Run docker-compose run --rm web rake secret, 3 times, to replace the values in .env.production of PAPERCLIP_SECRET, SECRET_KEY_BASE and OTP_SECRET.
  • Modifiy others values if you need (refer to upstream documentation for more details).
  • Run docker-compose run --rm web rake db:migrate
  • Run docker-compose up -d

Mastodon need several services to run properly (included in the docker-compose.yml example) :

  • Postgres (you can use this image: armhf/postgres:9.6-alpine)
  • Redis (you can use this image: armhf/redis)

Be sure to add volume persistence for production use (see volumes in docker-compose.yml for example).

Please refer to the upstream documentation for more information about the maintenance.

Sources