Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

External users can't follow me #99

Closed
bttmchnd opened this issue Jan 5, 2020 · 1 comment
Closed

External users can't follow me #99

bttmchnd opened this issue Jan 5, 2020 · 1 comment

Comments

@bttmchnd
Copy link

bttmchnd commented Jan 5, 2020

Hi!

I have following configuration with Docker, Traefik and Caddy:

docker-compose.yml

services:
  db:
    image: mariadb
    restart: always
    volumes:
      - /srv/containers/databases/friendica/mysql:/var/lib/mysql
    environment:
      - MYSQL_USER=[REDACTED]
      - MYSQL_PASSWORD=[REDACTED]
      - MYSQL_DATABASE=[REDACTED]
      - MYSQL_RANDOM_ROOT_PASSWORD=yes
    networks:
      - internal
    labels:
      - traefik.enable=false
      - com.centurylinklabs.watchtower.enable=true

  derpapp:
    image: friendica/server
    restart: always
    volumes:
      - /srv/containers/data/friendica:/var/www/html
    environment:
      - MYSQL_HOST=db
      - MYSQL_USER=[REDACTED]
      - MYSQL_PASSWORD=[REDACTED]
      - MYSQL_DATABASE=[REDACTED]
      - FRIENDICA_ADMIN_MAIL=[REDACTED]
    hostname: derpy.email
    depends_on:
      - db
    networks:
      - internal
      - proxy
    labels:
      - traefik.enable=true
      - traefik.backend=derpapp
      - traefik.docker.network=proxy
      - traefik.port=80
      - traefik.frontend.rule=Host:derpy.email
      - com.centurylinklabs.watchtower.enable=true

networks:
  proxy:
    external: true
  internal:
    external: false

derpy.email.conf Caddyfile

derpy.email {
        proxy / http://localhost:8080 {
                transparent
        }
        tls [REDACTED] {
                dns cloudflare
        }
        gzip
}

Federation seems working (I can ping my Mastodon account and back, faves work too). But Mastodon can't follow Friendica account:

image

And a comment from a libranet.de user:

The network type couldn't be detected. Contact can't be added.

The only visible problem is #79 (comment)

@bttmchnd
Copy link
Author

bttmchnd commented Jan 6, 2020

Fixed in #79 (comment).

@bttmchnd bttmchnd closed this as completed Jan 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant