diaspora Documentation

A privacy-aware, distributed, open source social network.

RAW Doc

Docker & Self-Hosted Deployment Verified OCI

Deploy diaspora on any server, homelab, or cloud container platform.

1-Click Terminal Command
bash (docker run)
docker run -d --name diaspora -p 3000:3000 --restart always diaspora:dev-latest
Configured Services & Ports
βš™οΈ diaspora
image: diaspora:dev-latest
πŸ”Œ Ports: ${DIASPORA_DOCKER_PORT:-3000}:3000
βš™οΈ redis
image: redis:7
βš™οΈ postgresql
image: postgres:15
πŸ”Œ Ports: 55432:5432
βš™οΈ mysql
image: mariadb:lts
πŸ”Œ Ports: 53306:3306
docker-compose.yml
yaml (docker-compose.yml)
volumes:
  redis_data:
  postgresql_data:
  mysql_data:
  dia_data_tmp:
  dia_data_bundle:

services:
  diaspora:
    build:
      context: .
      dockerfile: Dockerfile
      args:
        DIA_UID: "${DIASPORA_ROOT_UID}"
        DIA_GID: "${DIASPORA_ROOT_GID}"
    image: diaspora:dev-latest
    volumes:
      - "${DIASPORA_ROOT}:/diaspora:rw"
      - dia_data_tmp:/diaspora/tmp
      - dia_data_bundle:/diaspora/vendor/bundle
    ports:
      - ${DIASPORA_DOCKER_PORT:-3000}:3000
    environment:
      ENVIRONMENT_REDIS: redis://redis
      SERVER_LISTEN: tcp://0.0.0.0:3000
    depends_on:
      - "${DIASPORA_DOCKER_DB}"
      - redis

  redis:
    image: redis:7
    command: redis-server --save 60 1 --loglevel warning
    volumes:
      - redis_data:/data

  postgresql:
    image: postgres:15
    ports:
      - 55432:5432
    volumes:
      - postgresql_data:/var/lib/postgresql
    environment:
      POSTGRES_PASSWORD: postgres

  mysql:
    image: mariadb:lts
    ports:
      - 53306:3306
    volumes:
      - mysql_data:/var/lib/mysql
    environment:
      MARIADB_ROOT_PASSWORD: mysql
      MARIADB_AUTO_UPGRADE: 1

Technical Documentation: diaspora/diaspora

ℹ️ Provenance: Multi-Tier Ingestion Β· CodeWiki Reference

Overview (`README.md`)

diaspora\*

A privacy-aware, distributed, open source social network

Project site |
Wiki |
Bugtracker |
Discussions and Support |
License |
Authors

Installation

You don't have to install diaspora* to use the network. There are many servers connected to diaspora*s network which are open to anyone, and you can create an account on one of these servers. Have a look at our tips for finding a home, or you can just go straight to the list of open servers to sign up.

Want to own your data and install diaspora*? Whether you just want to try it out, want to install it on your server or want to contribute and need a development setup, our installation guides will get you started!

Questions?

Have a look at our FAQs for users, for pod administrators or for developers.

Still haven't found an answer? Talk to us! Read how we communicate. We're here to answer all your questions.

Contribute

To keep diaspora* growing and improving we need all help we can get. Whether you can contribute code, ideas, translations, bug reports or simply extend the community as a helpful user or pod administrator, your help is welcome!

Everyone interacting in diaspora’s codebases, issue trackers, chat rooms, the wiki, and the Discourse is expected to follow the diaspora* code of conduct.

Security

See SECURITY.md for instructions on how to responsibly report a security vulnerability.


Overview (`graphics/README.md`)

The files in this directory are "source" files for the graphics used in
the Diaspora frontend. This includes GIMP files, Photoshop files, SVG
files, and all other image files of this sort. They are not shown directly
to end users, but are used to generate the actual graphics used in the
frontend (PNGs, etc.). They can be scaled, tinted, shaded, etc.

License

dandelion.jpg is a public domain (CC0) photo by creativecommonsstockphotos.


--- METRICS ---