GoToSocial

Summary

GoToSocial is a self-hosted social networking server that uses the ActivityPub protocol to interact with Mastodon and other federated social networking sites.

Docker Compose File

services:
  gotosocial:
    image: superseriousbusiness/gotosocial:latest
    container_name: gotosocial
    user: 1000:1000
    networks:
      - gotosocial
    environment:
      GTS_HOST: your.fqdn.tld
      GTS_DB_TYPE: sqlite
      GTS_DB_ADDRESS: /gotosocial/storage/sqlite.db
      GTS_LETSENCRYPT_ENABLED: "false"
      GTS_LETSENCRYPT_EMAIL_ADDRESS: ""
      ## For reverse proxy setups:
      GTS_TRUSTED_PROXIES: "172.0.0.0/8"
      ## Set the timezone of your server:
      TZ: America/Los_Angeles
    ports:
      #- "443:8080"
      ## For letsencrypt:
      #- "80:80"
      # For reverse proxy setups:
      - "8080:8080"
    volumes:
      - ~/docker/gotosocial/data:/gotosocial/storage
    restart: "unless-stopped"