Skip to content

Commit ccb16ec

Browse files
author
Rub21
committed
Update main readme and install
1 parent a1b120d commit ccb16ec

File tree

2 files changed

+38
-21
lines changed

2 files changed

+38
-21
lines changed

INSTALL.md

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,38 @@ You will need `docker` and `docker-compose` installed on your system.
1313

1414
### Run locally
1515

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.
1719

1820
Run `docker-compose build` to build all Dockerfiles defined in `docker-compose.yml`.
1921

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:
2125

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`
2336

2437
NOTE:
2538

2639
- The map-tiles on the instance are being served from the main osm.org website currently.
2740
- 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.
2842

29-
### Building and Running individual containers
3043

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
3445

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.
3747

38-
```
48+
### Run in Kubernetes Cluster
3949

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/

README.md

Lines changed: 17 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,17 +16,24 @@ This project provides docker container definitions for various aspects of the Op
1616

1717
### What's included now:
1818

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
2835

29-
![](https://user-images.githubusercontent.com/1152236/49454074-6c6b2280-f7b2-11e8-944d-e47136d1dcf9.png)
36+
- A `Helm` [chart](https://www.helm.sh/), simplifying the process of deploying the entire system onto a Kubernetes cluster.
3037

3138
### Usage
3239
For more details on installation, see [INSTALL.md](INSTALL.md).

0 commit comments

Comments
 (0)