OneBusAway / onebusaway-docker

Docker configuration for the OneBusAway Application Modules (https://github.com/OneBusAway/onebusaway-application-modules)
Apache License 2.0
18 stars 32 forks source link

feat: support Google map configuration #68

Closed Altonhe closed 6 months ago

Altonhe commented 6 months ago

As #11 mentioned, this PR add Google map-related configuration. Support the following variables in https://github.com/OneBusAway/onebusaway-application-modules/blob/0e1ff4d06a49a65220242028c54df378eeecfd66/onebusaway-enterprise-webapp/src/main/webapp/WEB-INF/content/index.jspx#L51-L57

You can set the following args in docker-compose oba-app build args.

GOOGLE_MAPS_API_KEY=<YOUR_KEY_HERE>
GOOGLE_MAPS_CHANNEL_ID=<YOUR_CHANNEL_ID_HERE>
GOOGLE_MAPS_CLIENT_ID=<YOUR_CLIENT_ID_HERE>

Before: image

After: image