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

Add support for LOCAL_DOMAIN #371

Open
wants to merge 6 commits into
base: testing
Choose a base branch
from
Open

Add support for LOCAL_DOMAIN #371

wants to merge 6 commits into from

Conversation

uda
Copy link

@uda uda commented Feb 24, 2023

Problem

I want to install Mastodon on a subdomain while allowing users to use their user@rootdomain identity, this is supported by mastodon using the LOCAL_DOMAIN environment variable

Solution

I added an argument local_domain that if empty uses the main domain argument

NOTICE: this currently accepts arbitrary local_domain value, since I was unable to have an empty value from domain argument type, which would allow me to add a .well-known nginx path handling, meaning that the user will need to add manual .well-known redirects (List of URLs)

PR Status

  • Code finished and ready to be reviewed/tested
  • The fix/enhancement were manually tested (if applicable)

Automatic tests

None

@yalh76 yalh76 changed the base branch from master to testing February 28, 2023 19:29
@yalh76
Copy link
Member

yalh76 commented Feb 28, 2023

!testme

@yunohost-bot
Copy link
Contributor

✌️
Test Badge

@uda
Copy link
Author

uda commented Mar 9, 2023

It looks like the test is timing out, why does it take 180 minutes?

@rosbeef
Copy link

rosbeef commented Aug 8, 2023

I've did it once upon a time #311 . it works when manually configuredbutb I lose my work because of lake of understanding github ;) I can help as soon as I go back home. My hope is to use mastodon as a activity pub feeder to centralize fediverse subscriptions.

The only problem I had was when I would subscribe from my mastodon to my own peertube Chanel.

And I had problem with timeout testing too.

@rosbeef
Copy link

rosbeef commented Aug 25, 2023

Just for registry

To install your repo in my specific case (yunohost in LXC low memory container hosted on armhf arch) i had to do first :
#354
then as described in mastodon/mastodon#15751 in my case

echo /usr/lib/arm-linux-gnueabihf/libjemalloc.so > /etc/ld.so.preload
sudo apt install libjemalloc-dev

... more later ...

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

Successfully merging this pull request may close these issues.

4 participants