Commit graph

35 commits

Author SHA1 Message Date
gluap 1a1232f2a7
up openmaptiles version (7.0 has been running on adfc-hessen for ages), add changelog. 2023-06-10 19:33:14 +02:00
gluap 41ce56ac09
restore .env which was lost (probably due to gitignore) 2023-05-19 11:02:06 +02:00
Paul Bienkowski 761908a987 Move deployment readme to docs/ 2023-03-30 14:18:44 +02:00
Paul Bienkowski ac90d50239 Remove lean mode 2023-03-30 14:18:44 +02:00
Paul Bienkowski 78dca1477c Fix naming of AUTO_RELOAD/AUTO_RESTART 2023-03-12 13:09:36 +01:00
gluap eda0fe29b2 it is called "portal.example.com" everywhere else 2022-07-08 19:10:46 +02:00
gluap 5e8830cc15 fix #245 2022-05-21 21:55:24 +02:00
Paul Bienkowski 4d0002e6d8 Create one-in-all upgrade script (fixes #220) 2022-04-03 16:06:12 +02:00
Paul Bienkowski 388539fd71 Include road_usage in backups, please 2022-03-21 22:37:02 +01:00
Paul Bienkowski 157b970b29 Documentation for migrations 2022-03-21 22:26:07 +01:00
lumbric 835aeeb483 Fix keycloak URI in example config
In the example login.example.com is used for the subdomain for the keycloak instance.
2022-03-03 15:39:28 +01:00
lumbric fd06baeeb5 Update example config.py
This commit syncs config.py with api/config.py.example. Some new
parameters were missing, causing AttributeErrors during deployment.
2022-03-03 15:38:34 +01:00
Paul Bienkowski 21055e669a Document how to connect to postgresql 2022-03-02 19:40:14 +01:00
Dennis Boldt 412349cf4f Improve the README 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 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 442143a651 switch from link to depends_on 2021-12-25 20:32:53 +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 63adbc58cd Improve readmes 2021-11-29 00:26:54 +01:00
Paul Bienkowski ce805556ec Update readme and link to new architecture docs, fix Sanic name 2021-11-28 22:57:17 +01:00
Paul Bienkowski a7bbc50ac1 Fix link to sanic docs 2021-11-27 22:51:21 +01:00
Paul Bienkowski 8dec4c8262 Fix paths and URLs generated by API, and add note about config for proxying 2021-11-27 22:45:22 +01:00
Paul Bienkowski 93678375c2 deployment: Replace mongo with postgres and add traefik service port 2021-11-25 12:22:15 +01:00
Paul Bienkowski ea106539c6 Improve docs around tiles, remove old stuff, bump 0.3.0-rc.1 2021-11-22 09:51:18 +01:00
Paul Bienkowski 7add8caaa1 Live tiles, API executes openmaptiles-tools 2021-11-22 09:51:18 +01:00
Paul Bienkowski c85f261292 Single-container API+Frontend+Worker 2021-11-22 09:51:16 +01:00
gluap 8fd28dd130 Remove the disputed section about backups 2021-11-22 09:24:53 +01:00
gluap 0cd5525401 Clarify recursive clone, implment $ROOT
- Formerly  `README.md` announced there would be $ROOT but it wasn't used - start using it
    - Make sure that we also describe submodule cloning in Docker `README.md` as I have already been asked by several people "why the scripts directory isn't there".
    - Mention how to adapt map center coordinates as it is a FAQ
    - Mention how to backup the data.

    @opatut mention as discussed
2021-11-22 09:24:53 +01:00
gluap 6b1e6eb06c adapt traefik.toml to volume mount
use acme/acme.json to avoid the issue with the directory (see previous commit)
2021-11-22 09:22:51 +01:00
gluap 62e8ff241c fix issues with acme volume
when directly voluming in the json and it does not exist, docker automatically creates a directory to mount which traefik chokes on trying to access it as a file. create a sensible mount dir but configure traefik to make a file in that directory (next commit)
2021-11-22 09:22:51 +01:00
gluap d81baaed1e docker-compose.yaml consitent with README.md 2021-10-19 23:04:15 +02:00
gluap 9e6ee5deba Correctly volume frontend config 2021-10-19 11:25:40 +02:00
gluap 33b14b16a3 Fix twist in filename
the file is actually named config.example.json, fix the reference so the copy command works.
2021-10-19 10:03:56 +02:00
Paul Bienkowski 4eb504d719 deployment: add example deployment config and readme 2021-09-27 19:34:14 +02:00