GoToSocial

ActivityPub federated social network server implementing the Mastodon client API.

Directory Structure

    • .env
    • docker-compose.yml

docker-compose.yml

version: "3.3"
 
services:
  gotosocial:
    image: superseriousbusiness/gotosocial:latest
    container_name: gotosocial
    user: 1000:1000
    networks:
      - gotosocial
    environment:
      GTS_HOST: example.org
      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.x.x.x"
      ## Set the timezone of your server:
      #TZ: UTC
    ports:
      - "443:8080"
      ## For letsencrypt:
      #- "80:80"
      ## For reverse proxy setups:
      #- "127.0.0.1:8080:8080"
    volumes:
      - ~/gotosocial/data:/gotosocial/storage
    restart: "always"
 
networks:
  gotosocial:
    ipam:
      driver: default

Resources

Website: https://docs.gotosocial.org/

GitHub: https://github.com/superseriousbusiness/gotosocial

Docker Hub: https://hub.docker.com/r/superseriousbusiness/gotosocial

Configuration: https://docs.gotosocial.org/en/latest/getting_started/installation/container/