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

Can I use docker setup without API keys? #233

Closed
xeruf opened this issue Oct 4, 2022 · 2 comments
Closed

Can I use docker setup without API keys? #233

xeruf opened this issue Oct 4, 2022 · 2 comments

Comments

@xeruf
Copy link

xeruf commented Oct 4, 2022

https://docs.facilmap.org/developers/server/docker.html#docker-compose lists a few tokens for different features - will it run without those tokens if I do not need those features?

@cdauth
Copy link
Contributor

cdauth commented Oct 4, 2022

The API keys are explained here: https://docs.facilmap.org/developers/server/config.html

The app will run without the API keys. However, if the Mapbox and OpenRouteService keys are not configured, the routing options will still be shown in the UI, but an error will be thrown when you try to calculate a route.

If you have a use case in mind where you only need straight lines, but no routing support, I could imagine to change the UI to only show the options that are actually available.

@cdauth
Copy link
Contributor

cdauth commented Apr 12, 2024

All API keys are now optional, when the app is started without the Mapbox and ORS API keys, the routing options will be hidden from the UI.

@cdauth cdauth closed this as completed Apr 12, 2024
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