Commit graph

12 commits

Author SHA1 Message Date
Dennis Boldt 0c3bda1a89 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:45:40 +01:00
Dennis Boldt 429df474a0 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:40:31 +01:00
Dennis Boldt e5e5bc11ca 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:40:31 +01:00
gluap 442143a651 switch from link to depends_on 2021-12-25 20:32:53 +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 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
Paul Bienkowski 4eb504d719 deployment: add example deployment config and readme 2021-09-27 19:34:14 +02:00