Not able to follow users on remote instances

I’ve just set up my own mastodon instance, but I’m not able to follow people from remote instances.

I have set everything up using docker and docker-compose, more or less following these guides: Hosting your own mastodon instance via docker-compose – vdna.be and Setting up your first Mastodon instance | Code Koalas | Kansas City Drupal Development & Digital Agency

I’m using this docker nginx reverse proxy setup, including the --activate-ipv6 option.

Issues in the past mentioned a broken ipv6 setup, but as far as I can tell, ipv6 is working correctly for me (web interface and an online checker).

docker-compose.yml:

version: '3'
services:

  db:
    restart: always
    image: postgres:9.6-alpine
    shm_size: 256mb
    networks:
      - internal_network
    healthcheck:
      test: ["CMD", "pg_isready", "-U", "mastodon"]
    volumes:
      - ./postgres:/var/lib/postgresql/data
    environment:
      POSTGRES_PASSWORD: redacted
      POSTGRES_DB: mastodon_production
      POSTGRES_USER: mastodon

  redis:
    restart: always
    image: redis:6.0-alpine
    networks:
      - internal_network
    healthcheck:
      test: ["CMD", "redis-cli", "ping"]
    volumes:
      - ./redis:/data

  web:
    build: .
    image: tootsuite/mastodon
    restart: always
    env_file: .env.production
    command: bash -c "rm -f /mastodon/tmp/pids/server.pid; bundle exec rails s -p 3000"
    networks:
      - external_network
      - internal_network
    healthcheck:
      test: ["CMD-SHELL", "wget -q --spider --proxy=off localhost:3000/health || exit 1"]
    expose:
      - 3000
    depends_on:
      - db
      - redis
#      - es
    volumes:
      - ./public/system:/mastodon/public/system
    environment:
      - VIRTUAL_HOST=circl.social
      - VIRTUAL_PORT=3000
      - LETSENCRYPT_HOST=circl.social
      - LETSENCRYPT_EMAIL=letsencrypt@hieronimi.xyz

  streaming:
    build: .
    image: tootsuite/mastodon
    restart: always
    env_file: .env.production
    command: node ./streaming
    networks:
      - external_network
      - internal_network
    healthcheck:
      test: ["CMD-SHELL", "wget -q --spider --proxy=off localhost:4000/api/v1/streaming/health || exit 1"]
    ports:
      - "4000:4000"
    depends_on:
      - db
      - redis
    environment:
      - VIRTUAL_HOST=streaming.circl.social
      - VIRTUAL_PORT=4000
      - LETSENCRYPT_HOST=streaming.circl.social
      - LETSENCRYPT_EMAIL=letsencrypt@hieronimi.xyz

  sidekiq:
    build: .
    image: tootsuite/mastodon
    restart: always
    env_file: .env.production
    command: bundle exec sidekiq
    depends_on:
      - db
      - redis
    networks:
      - external_network
      - internal_network
    volumes:
      - ./public/system:/mastodon/public/system

networks:
  external_network:
    external:
      name: proxy
  internal_network:
    internal: true

.env.production:


# Federation
# ----------
LOCAL_DOMAIN=circl.social

# Redis
# -----
REDIS_HOST=mastodon_redis_1
REDIS_PORT=6379

# PostgreSQL
# ----------
DB_HOST=mastodon_db_1
DB_USER=mastodon
DB_NAME=mastodon_production
DB_PASS=redacted
DB_PORT=5432

# Secrets
# -------
SECRET_KEY_BASE=nope
OTP_SECRET=andnopeagain

# Web Push
# --------
VAPID_PRIVATE_KEY=nopinope
VAPID_PUBLIC_KEY=notthistime

# Sending mail
# ------------
SMTP_SERVER=mail.your-server.de
SMTP_PORT=587
SMTP_LOGIN=circlsocial@hieronimi.xyz
SMTP_PASSWORD=thatsmysecret
SMTP_FROM_ADDRESS=circlsocial@hieronimi.xyz


This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.