gluap
1735f44769
Port 3000 exposed for consistency
...
Noticed I can do this myself -- disregard my comment about this fact.
2022-02-18 11:46:00 +01:00
Dennis Boldt
e82f2c9a0e
Use environment variables to configure the portal
...
- Added an example .env file, where all variables start with `OBS_`
- `OBS_` variables are handled by the portal as configuration variables
- Uncomment some variables in the config.py, since the config.py overrides the env-vars
- Use env-vars and env-file in the docker-compose.yaml
- Add the worker to the docker-compose.yaml
- Add KeyCloak with its own postgres to the docker-compose.yaml
2022-02-18 11:46:00 +01:00
Dennis Boldt
0f816e1680
Fix env-var names in osm2pgsql.sh
2022-02-18 11:46:00 +01:00
Dennis Boldt
e4e9f921b6
Fix isPath
2022-02-18 11:46:00 +01:00
Dennis Boldt
9df2914b86
Allow env-vars starting with OBS_ to configure the portal
2022-02-18 11:46:00 +01:00
Dennis Boldt
af174bc930
osm2pgsql can use a connection string
...
See option -d at https://osm2pgsql.org/doc/man/latest.html
2022-02-18 11:46:00 +01:00
Dennis Boldt
12224db3b9
Use osm2pgsql.sh to import osm data into the database with the portal image
...
- Added POSTGRES env-vars to the portal (only handled by osm2pgsql.sh until now)
- Added ./data/pbf:/pbf as host volume mount to the portal
- Added osm2pgsql.sh, which ueses the env-vars and pbf-mount to import the osm data into the database
2022-02-18 11:46:00 +01:00
Dennis Boldt
85911a2c97
Add osm2pgsql to the portal container
...
- Build osm2pgsql in a separate woker
- Fix EXPOSE port to 3000
- Add postgres to the backend network
2022-02-18 11:46:00 +01:00
gluap
b43f7a2ebb
retry: should only modify client on success.
2022-02-18 11:21:04 +01:00
gluap
4505ddd0ee
add retry to keycloak connection
2022-02-18 11:21:04 +01:00
gluap
b8ab7da1a9
This allows us to recover from the condition with the broken connections.
2022-02-18 11:19:43 +01:00
gluap
5ac2900e63
make pool_size and overflow configurable for worker and portal
2022-02-18 11:19:43 +01:00
gluap
6a34eaf819
Make setup.py consistent with requirements.txt
...
pyyaml, sqlalchemy asyncpg were missing. I wasn't able to identify where we use pyyaml but left it in to not accidentally break things.
2022-02-18 11:15:00 +01:00
Paul Bienkowski
0d49945018
Fix logging and use coloredlogs for nicer output
2022-02-18 11:15:00 +01:00
Paul Bienkowski
96642d2255
Fix format strings
2022-02-18 11:15:00 +01:00
Paul Bienkowski
b66784f1ed
Fix path to roads_import.lua in docs
2022-02-18 11:15:00 +01:00
gluap
15aaf06168
ignore submodules - it's not branch-aware
2022-02-11 17:09:37 +01:00
gluap
41e7fb001c
Merge pull request #194 from openbikesensor/bump_versions_2022-01-14
...
bump those versions that we can bump
2022-02-09 21:15:00 +01:00
gluap
530c604623
bump those versions that we can bump
2022-02-08 22:51:15 +01:00
gluap
8a4fbf954c
Remove frontend checking
...
It's noisy and buildtime-only.
2022-02-08 21:59:02 +01:00
Paul Bienkowski
2ce0338f38
Refactor routes/exports.py
2022-01-19 20:39:05 +01:00
Paul Bienkowski
3da467800d
Remove broken duplicate route
2022-01-19 20:36:03 +01:00
Paul Bienkowski
0c256d8923
Add export routes
2022-01-19 09:11:54 +01:00
Andreas Mandel
1c09725ff1
Merge pull request #158 from openbikesensor/feature/enable-dependabot-for-update-prs
...
Enable dependabot for update pull requrests
2022-01-18 19:49:29 +01:00
Andreas Mandel
57976b4cec
Enable dependabot for update pull requrests
2022-01-16 12:25:56 +01:00
gluap
ee6163b301
Merge pull request #152 from gluap/proper_deps
...
switch from link to depends_on
2021-12-25 22:51:36 +01:00
Paul Bienkowski
057e2bcc6c
Remove duplicate events from the same track
2021-12-25 21:22:59 +01:00
gluap
442143a651
switch from link to depends_on
2021-12-25 20:32:53 +01:00
gluap
c63fd49245
mongo is not used any more.
2021-12-25 13:19:04 +01:00
Paul Bienkowski
6fd56334e2
Explain to use the portal service, instead of api, in production
2021-12-20 11:33:17 +01:00
Paul Bienkowski
076bc988df
Point footer to forum, not slack ( fixes #140 )
2021-12-19 21:27:30 +01:00
Paul Bienkowski
810bd39152
Fix direction of road segments ( fixes #142 )
...
BREAKING CHANGE: This changes the tile generation function, please
update your database with `prepare_sql_tiles.py`.
2021-12-19 21:23:01 +01:00
Paul Bienkowski
ab6e2b8a74
Use entrypoint instead of command, so you can run process_track.py one-off tasks
2021-12-19 21:23:01 +01:00
gluap
184e5c6f8f
Properly split tasks into bulletpoints.
2021-12-19 19:48:06 +01:00
gluap
7b6e8cdf65
improved wording.
2021-12-19 19:48:06 +01:00
gluap
258c0fbaac
spelling
2021-12-19 19:48:06 +01:00
gluap
33a8706109
Clarify which docker-compose.yaml to use
...
Starting from ``UPGRADING.md`` I didn't realize there were "examples" below "deployment". I suggest making it explicit here.
2021-12-19 19:48:06 +01:00
gluap
724e48f738
Implement requested change to native react idiom
2021-12-19 17:57:46 +01:00
gluap
6add053a92
add import (missed committing this previously)
2021-12-19 17:57:46 +01:00
gluap
dd5b31dcc9
remove extra space
2021-12-19 17:57:46 +01:00
gluap
cdcee6e29c
Add incrementing ID to gradient svg.
...
So we do not overwrite it when the other button is enabled.
2021-12-19 17:57:46 +01:00
gluap
a5f5acd6d5
Make the scale match the map
2021-12-19 17:57:46 +01:00
gluap
f1f7ff1976
duplicate scale to the top
2021-12-19 17:57:46 +01:00
gluap
6158589b6f
Show colorscale whenever it is used
2021-12-19 17:57:46 +01:00
Paul Bienkowski
4e45ec6744
Fix error handling, especially for file uploads
2021-12-06 10:09:37 +01:00
Paul Bienkowski
e95f5096db
Improve wording on profile page ("My" instead of "Your")
2021-12-06 09:09:08 +01:00
Paul Bienkowski
25ec75e781
Show "My tracks" directly in main menu ( fixes #136 )
2021-12-06 09:08:54 +01:00
Paul Bienkowski
5395712c3a
Release: 0.3.4
2021-12-06 08:53:04 +01:00
Paul Bienkowski
e99aa62639
Also commit changelog when releasing
2021-12-06 08:52:45 +01:00
Paul Bienkowski
ee13e8e2f5
chore: auto format frontend code with prettier
2021-12-06 08:47:47 +01:00