You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: INSTALL.md
+21-11Lines changed: 21 additions & 11 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,28 +13,38 @@ You will need `docker` and `docker-compose` installed on your system.
13
13
14
14
### Run locally
15
15
16
-
Copy `.env.example` to `.env` and edit as appropriate.
16
+
Osm-seed contains different containers, you may need to comment out some of them at docker-compose.yml according to your use case.
17
+
18
+
Copy the required environment files form `envs/` folder, e.g `envs/.env.db.example` to `.env.db` and edit as appropriate.
17
19
18
20
Run `docker-compose build` to build all Dockerfiles defined in `docker-compose.yml`.
19
21
20
-
Run `source .env && docker-compose up` to run all containers defined in `docker-compose`
22
+
Run `docker-compose up` to run all containers defined in `docker-compose.yml`
23
+
24
+
Once `docker-compose` is running, you should be able to access a local instance of services:
21
25
22
-
Once `docker-compose` is running, you should be able to access a local instance of the OpenStreetMap website on `http://localhost:80`
26
+
- OpenStreetMap website on `http://localhost:80`
27
+
- Api DB on port 5432
28
+
- Tiler DB on port 5433
29
+
- Vector tile server on `http://localhost:9090`
30
+
- Nominatim DB on port 5434
31
+
- Nominatim API on `http://localhost:7070`
32
+
- Overpass API on `http://localhost:8081`
33
+
- Tasking Manager API on `http://localhost:5050`
34
+
- Taginfo API website on `http://localhost:4567`
35
+
- OpenStreetMap website on `http://localhost:80`
23
36
24
37
NOTE:
25
38
26
39
- The map-tiles on the instance are being served from the main osm.org website currently.
27
40
- Make sure the port 5432 and 80 are not busy.
41
+
- Data outputs from osm-seed is going to be store i the `data/` folder.
28
42
29
-
### Building and Running individual containers
30
43
31
-
Sometime you may require building and running a container by itself, so to do that and to put the container on the same network as other containers it maybe dependent on, first you should create a network.
32
-
33
-
e.g
44
+
### Building and Running individual containers
34
45
35
-
```
36
-
docker network create osm_network
46
+
Sometime you may require building and running a container by itself, so to do that and to put the container on the same network as other containers, take a looks on the folder [`images`](images/) of each contianer.
37
47
38
-
```
48
+
### Run in Kubernetes Cluster
39
49
40
-
And then follow the README file in folders specific for each container definition, to configure, edit and test individual containers.
50
+
For running in kubernetes use helm templates, https://devseed.com/osm-seed-chart/
Copy file name to clipboardExpand all lines: README.md
+17-10Lines changed: 17 additions & 10 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -16,17 +16,24 @@ This project provides docker container definitions for various aspects of the Op
16
16
17
17
### What's included now:
18
18
19
-
-`web` A container that runs The OpenStreetMap Rails Port.
20
-
-`db` A container that runs OSM Api database.
21
-
-`populate-apidb` A container that runs `osmium` to import data into the api-db.
22
-
-`planet-dump` A container that exports a planet replication in pbf format.
23
-
-`replication-job` A container that exports data from the api-db every minute, hour or day.
24
-
-`db-backup-restore` A container that runs database backup.
25
-
- A `Helm`[chart](https://www.helm.sh/), simplifying the process of deploying the entire system onto a Kubernetes cluster.
26
-
27
-
### Diagram
19
+
-[`web`](images/web) A container that runs The OpenStreetMap Rails Port - https://wiki.openstreetmap.org/wiki/Main_Page.
20
+
-[`db`](images/db) A container that runs OSM Api database.
21
+
-[`populate-apidb`](images/populate-apidb) A container that runs `osmium` to import data into the api-db.
22
+
-[`planet-dump`](images/planet-dump) A container that exports a planet replication in pbf format.
23
+
-[`full-history`](images/full-history) A container that exports a full planet replication in pbf format.
24
+
-[`replication-job`](images/replication-job) A container that exports data from the api-db every minute, hour or day.
25
+
-[`db-backup-restore`](images/db-backup-restore) A container that runs database backup.
26
+
27
+
-[`tiler-db`](images/tiler-db) A container that runs tiler database.
28
+
-[`tiler-imposm`](images/tiler-imposm) A container that runs updates from minute replication job.
29
+
-[`tiler-server`](images/tiler-server) A container that runs vector tile server base on tegola - https://github.com/go-spatial/tegola
30
+
31
+
-[`nominatim`](images/nominatim) A container that runs geocoder using data from `planet-dump` and `replication-job`
32
+
-[`overpass-api`](images/overpass-api) A container that runs read-only API for filtering map data - https://wiki.openstreetmap.org/wiki/Overpass_API
33
+
-[`taginfo`](images/taginfo) A container that runs a service for finding and aggregating information about osm-seed tags - https://wiki.openstreetmap.org/wiki/Taginfo
34
+
-[`tasking-manager-api`](images/tasking-manager-api) A container that runs Task manager rest api - https://github.com/pgmorgan/task-manager-api
0 commit comments