Dennis Boldt
d3628a7f59
Start postgres before preparing the database
2021-12-22 00:35:18 +01:00
Dennis Boldt
2c61571793
The data folder of the config.py.example is /opt/obs/data
2021-12-21 00:31:10 +01:00
Dennis Boldt
d469fe510d
Use HOST="0.0.0.0" instead of HOST="127.0.0.1"
2021-12-21 00:02:46 +01:00
Dennis Boldt
26d3f9bea5
Merge branch 'main' into dev/prod
2021-12-20 23:10:21 +01:00
Dennis Boldt
cc7c050fdb
Improve deployment documentation
...
1) EXPOSE 3000 in Dockerfile + set loadbalancer port to 3000 in docker-compose.yml
2) Add reference to a manually installation of osm2pgsql
3) Add -W to osm2pgsql, which asks for the postgres password
4) Added the manual creation of the docker network `gateway`
5) Changed deployment order: build portal -> prepeare database -> import Osm -> run the container
6) Add localhost binding of postgres to docker-compose.yml (optional)
2021-12-20 23:01:08 +01:00
Paul Bienkowski
6fd56334e2
Explain to use the portal service, instead of api, in production
2021-12-20 11:33:17 +01:00
Dennis Boldt
20378e0b03
Work and fix docker-compose.yml
...
(1) Custom names in docker networks require compose file format to be at least 3.5
"Networks can also be given a custom name (since version 3.5)"
@see: https://docs.docker.com/compose/networking/#specify-custom-networks
(2) Add `traefik.enable=false` to the postgres
Thus, traefik never tries to handle the container.
(3) Bump traefik to 2.5.5
(4) Fix label of the portal
Use prefix `traefik.http.services.portal`
2021-12-19 23:33:20 +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
Paul Bienkowski
3db5132199
Reintroduce event view ( fixes #111 )
2021-12-06 08:45:54 +01:00
Paul Bienkowski
1669713fc5
Add more options for roads layer
2021-12-05 18:56:27 +01:00
Paul Bienkowski
6b38540586
Make road colors and untagged roads display configurable
2021-12-04 13:28:35 +01:00
Paul Bienkowski
f0c715bcbc
Add sidebar for configuring map layers - make basemap style choosable
2021-12-03 22:20:41 +01:00
Paul Bienkowski
83e945c7ff
refactor: split MapPage into components
2021-12-03 19:44:12 +01:00
Paul Bienkowski
4bf23143e0
feat: Split road statistics by direction ( fixes #117 )
2021-12-03 19:28:07 +01:00
Paul Bienkowski
776275c52b
fix: clicking on road without events should not cause 500 error
2021-12-03 18:12:00 +01:00
Paul Bienkowski
69e8591fae
chore: allow explicit configuration of api base url
2021-12-03 17:54:26 +01:00
Paul Bienkowski
09fe1a7ac0
feat: Add optional banner to frontend via config entry (solves #128 )
2021-12-03 17:31:43 +01:00
Paul Bienkowski
99f33aa988
chore: Use config.json from API route in development mode
2021-12-03 17:31:03 +01:00
Paul Bienkowski
84683c7789
Set example files map home to cover most of Germany
2021-12-03 17:06:29 +01:00
Paul Bienkowski
be4e0055cf
chore: Remove auto-generated obsMapSource from example API config
2021-12-03 17:02:08 +01:00
Paul Bienkowski
3aee226630
chore: remove outdated "mapTileset" frontend config section
2021-12-03 17:01:10 +01:00
Paul Bienkowski
7d2c45da43
Improve mobile layout a bit ( fixes #123 )
2021-12-03 16:55:50 +01:00
Paul Bienkowski
456554c1de
Release: 0.3.3
2021-12-02 21:03:33 +01:00
Paul Bienkowski
2592fe029a
fix: Show correct API URL for OBS in settings page
2021-12-02 21:02:11 +01:00
Paul Bienkowski
5309527c3e
fix: read API key for posting tracks, fixes upload from OBS
2021-12-02 21:00:21 +01:00
Paul Bienkowski
6e19411314
Fix README note about running osm2pgsql multiple times and link to docs for commandline arguments
2021-12-01 19:21:10 +01:00
Paul Bienkowski
7669330aaa
Add link to semver and reference #44 in the readme
2021-12-01 11:27:51 +01:00
Paul Bienkowski
86bbf50ea2
Release: 0.3.2
2021-12-01 09:42:38 +01:00
Paul Bienkowski
4003d5e938
Do not blindly import old API keys
2021-12-01 09:42:27 +01:00
Paul Bienkowski
40784ba51e
Fix typo xtrack -> track
2021-11-30 23:36:53 +01:00
Paul Bienkowski
525004ab15
Release: 0.3.1
2021-11-30 23:32:49 +01:00