Skip to content

Commit 6a5e837

Browse files
committed
add platform for db service. minor fixes to readme
1 parent dfa5623 commit 6a5e837

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

INSTALL.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,8 @@ You will need `docker` and `docker-compose` installed on your system.
1313

1414
### Run locally
1515

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.
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+
Copy the required environment files from `envs/` folder, e.g `envs/.env.db.example` to `.env.db` and edit as appropriate.
1918

2019
Run `docker-compose build` to build all Dockerfiles defined in `docker-compose.yml`.
2120

@@ -32,7 +31,6 @@ Once `docker-compose` is running, you should be able to access a local instance
3231
- Overpass API on `http://localhost:8081`
3332
- Tasking Manager API on `http://localhost:5050`
3433
- Taginfo API website on `http://localhost:4567`
35-
- OpenStreetMap website on `http://localhost:80`
3634

3735
NOTE:
3836

docker-compose.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ services:
44
# OSM API and Database section
55
####################################################
66
db:
7+
platform: linux/amd64
78
image: osmseed-db:v1
89
build:
910
context: ./images/db

images/web/start.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ while "$flag" = true; do
3939
sleep 2
4040
done &
4141

42+
bundle exec rake assets:precompile --trace
4243
bundle exec rails db:migrate
4344
# Start the delayed jobs queue worker and Start the app
4445
bundle exec rake jobs:work &

0 commit comments

Comments
 (0)