• 0 Posts
  • 12 Comments
Joined 1 year ago
cake
Cake day: June 12th, 2023

help-circle





  • 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