Giter Site home page Giter Site logo

ccbikai / pleroma-on-cloud Goto Github PK

View Code? Open in Web Editor NEW
9.0 2.0 7.0 14 KB

在云平台(Koyeb/Render/Northflank/Zeabur/Fly.io)使用 Docker 部署运行 Pleroma。

Home Page: https://chi.miantiao.me/posts/deploy-fediverse-instance/

License: Apache License 2.0

Dockerfile 37.27% Elixir 62.73%
fediverse pleroma

pleroma-on-cloud's Introduction

Pleroma On Cloud

在云平台使用 Docker 部署运行 Pleroma。


GitHub License GitHub Repo stars

支持特性

  1. 支持 Soapbox-FE 前端
  2. 支持 Smoji 表情包
  3. 禁止搜索引擎索引外站内容,可自己修改 static/robots.txt 自定义
  4. 支持自定义 static 内容,文件放入 static 目录即可。比如 favicon.ico

部分平台链接含有 Aff, 介意勿点。 如果其他平台测试通过,欢迎告知我来补充

支持部署平台

支持数据库平台

文件存储

只支持 S3, 本地存储重启后会丢失,推荐使用 Backblaze B2(套Cloudflare) 或者 Cloudflare R2 都可以做到 10G 存储和无限流量。

使用方式

  1. Fork 此项目到你 Github

  2. 到云平台注册账号,关联你 Github

  3. 开始部署此项目,注意修改环境变量 为你自己的域名和数据库地址

    INSTANCE_NAME=Pleroma # 实例英文名称
    DOMAIN=miantiao.me # 实例域名
    DB_HOST=pleroma.aivencloud.com # 数据库主机地址
    DB_PORT=28404 # 数据库端口
    DB_NAME=pleroma # 数据库名称
    DB_USER=avnadmin # 数据库用户名
    DB_PASS=AVNS_password # 数据库密码
  4. 使用云平台的 Console/Shell 功能,注册你的管理员账号(Zeabur 不支持此功能建议本地/其他平台部署创建账号后再部署到 Zeabur)

    ./bin/pleroma_ctl user new fakeadmin [email protected] --admin

  5. 云平台绑定域名,管理员账号登录,进入后台配置实例信息(文件存储,Email通知等等)

    • 管理界面路径是 /pleroma/admin/#/
    • 修改前端为 soapbox 方法:在 Settings - Frontend - Primary 中,修改 Name 为 soapbox Reference 为 static
    • 不建议加入 Relay, 中继信息大多无用还占用数据库,你只需要关注感兴趣的用户就行
  6. 搜索 @[email protected] 并关注(非必须,建议关注),开始嘟嘟

演示

https://miantiao.me/@chi

chi@miantiao.me

致谢

  1. https://github.com/angristan/docker-pleroma

Buy Me A Coffee

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.