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

Feature Request: Automatic API Key #11

Open
raynormast opened this issue Feb 1, 2023 · 1 comment
Open

Feature Request: Automatic API Key #11

raynormast opened this issue Feb 1, 2023 · 1 comment

Comments

@raynormast
Copy link

If we could set up pre-configured instances and API keys with docker it would allow easier integration of FakeRelay into other projects.

For instance,

   environment:
      - DEFAULT_HOST=https://my-pet-mastodon.com
      - DEFAULT_KEY=<SOME KEY I USED>

This would let me include FakeRelay in another docker-compose file without requiring other users to use FakeRelay's CLI to get started, they would only need to update the relays in their Mastodon instance.

@g3rv4
Copy link
Owner

g3rv4 commented Feb 1, 2023

This is interesting... but I'm wondering if using the /data volume wouldn't be enough. If you have the json files mounted there, things would just work. You can then have as many hosts as you want, and also stable private / public keys.

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

2 participants