Comment on GoToSocial is a new ActivityPub social network server for the Fediverse

<- View Parent
mbirth@lemmy.mbirth.uk ⁨7⁩ ⁨months⁩ ago

Pretty much, I think. I have it running on a Raspberry Pi 4 with docker-compose:

version: '3'

services:
  gotosocial:
    image: superseriousbusiness/gotosocial:latest
    restart: unless-stopped
    networks:
      - traefik-public
    environment:
      TZ: Europe/London
      GTS_HOST: xyz.example.com
      GTS_CONFIG_PATH: /gotosocial/storage/config.yaml
      GTS_DB_TYPE: sqlite
      GTS_DB_ADDRESS: /gotosocial/storage/sqlite.db
      GTS_LETSENCRYPT_ENABLED: "false"
      GTS_LETSENCRYPT_EMAIL_ADDRESS: ""
    volumes:
      - smb-gotosocial-data:/gotosocial/storage
    labels:
      traefik.enable: "true"
      traefik.http.routers.gotosocial.rule: Host(`xyz.example.com`)
      traefik.http.routers.gotosocial.entrypoints: websecure
      traefik.http.routers.gotosocial.tls: "true"
      traefik.http.routers.gotosocial.tls.certresolver: le
      traefik.http.services.gotosocial.loadbalancer.server.port: "8080"

volumes:
  smb-gotosocial-data:
    driver_opts:
      type: "smb3"
      device: "//mynas/docker/gotosocial/data"
      # Use nobrl to mitigate SQLite3 byte range locking issue on CIFS/SMB mounts
      o: "rw,nobrl,vers=3.1.1,addr=172.16.254.1,username=xxx,password=xxx,cache=loose,iocharset=utf8,noperm,hard"

networks:
  traefik-public:
    external: true

source
Sort:hotnewtop