{"id":18815203,"url":"https://github.com/thomas-maurice/soapbox-docker","last_synced_at":"2026-02-14T18:32:20.551Z","repository":{"id":68524094,"uuid":"564789947","full_name":"thomas-maurice/soapbox-docker","owner":"thomas-maurice","description":"Docker image for the Soapbox/Rebased server, an alternative to Mastodon","archived":false,"fork":false,"pushed_at":"2022-11-14T11:20:18.000Z","size":22,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-02T11:54:13.805Z","etag":null,"topics":["docker","fediverse","mastodon","self-hosting","soapbox","twitter"],"latest_commit_sha":null,"homepage":"","language":"Elixir","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thomas-maurice.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2022-11-11T13:59:59.000Z","updated_at":"2024-08-05T22:46:18.000Z","dependencies_parsed_at":"2023-09-21T20:14:18.878Z","dependency_job_id":null,"html_url":"https://github.com/thomas-maurice/soapbox-docker","commit_stats":{"total_commits":9,"total_committers":1,"mean_commits":9.0,"dds":0.0,"last_synced_commit":"8acdfc96fe494a606858e2baff8a626f37949e2a"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thomas-maurice/soapbox-docker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomas-maurice%2Fsoapbox-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomas-maurice%2Fsoapbox-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomas-maurice%2Fsoapbox-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomas-maurice%2Fsoapbox-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thomas-maurice","download_url":"https://codeload.github.com/thomas-maurice/soapbox-docker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thomas-maurice%2Fsoapbox-docker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264502415,"owners_count":23618598,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","fediverse","mastodon","self-hosting","soapbox","twitter"],"created_at":"2024-11-07T23:48:04.324Z","updated_at":"2026-02-14T18:32:20.507Z","avatar_url":"https://github.com/thomas-maurice.png","language":"Elixir","funding_links":[],"categories":[],"sub_categories":[],"readme":"# soapbox-docker\n\nDeploys an instance of Soapbox with the `rebased` backend. Docker image available on [Docker Hub](https://hub.docker.com/r/mauricethomas/soapbox-docker). A new version of the image is rebuilt automatically\n\n## Build the image\n\n`docker build -t mauricethomas/soapbox-docker .`\n\n## Get the image from dockerhub\n\n```\ndocker pull mauricethomas/soapbox-docker\n```\n\n## Generate a config file\n\nRun the image `docker run -it mauricethomas/soapbox-docker bash`, and create a new config file `mix pleroma.instance gen`. Then copy the `/opt/pleroma/config/generated_config.exs` and save it outside the image as `prod.secret.exs`, you will need this to start yout instance.\n\n## Prepare the database\n\nCreate the db and user like so\n\n```sql\nCREATE USER pleroma WITH ENCRYPTED PASSWORD 'pleroma';\nCREATE DATABASE pleroma OWNER pleroma;\n\\c pleroma;\nCREATE EXTENSION IF NOT EXISTS citext;\nCREATE EXTENSION IF NOT EXISTS pg_trgm;\nCREATE EXTENSION IF NOT EXISTS \"uuid-ossp\";\n```\n\n## Run a production instance\n\nYou need to run the container with the `prod.secret.exs` file mounted at `/opt/pleroma/config/prod.secret.exs`, db migrations should be run automatically.\n\nYou need to mount a directory to `/opt/pleroma/uploads` to persist the uploads from the users, this group should be owned by `998:998`\n\n## Run locally for testing\n\nRun `docker-compose up`, then `./pleroma.sh`\n\nYour container will be acessible at `https://social.localhost`\n\n:warning: DO NOT USE THE INCLUDED `prod.secret.exs` FILE IN PRODUCTION DEPLOYMENT, GENERATE A NEW ONE!\n\n## Create the admin user\n\nI refer you to the [soapbox docs](https://soapbox.pub/install/), but basically\n`MIX_ENV=prod mix pleroma.user new \u003cusername\u003e \u003cyour@emailaddress\u003e --admin`\n\n## Administrating your instance\n\nWhen logged as the admin you can access to the soapbox admin interface: https://social.localhost/soapbox/admin\nYou an access the pleroma interface at [https://\u003cyourdomain.com\u003e/pleroma/admin](https://social.localhost/pleroma/admin)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomas-maurice%2Fsoapbox-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthomas-maurice%2Fsoapbox-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthomas-maurice%2Fsoapbox-docker/lists"}