Skip to content

Commit

Permalink
i changed misspell of port in config file
Browse files Browse the repository at this point in the history
  • Loading branch information
Jin IGARASHI committed Sep 17, 2020
1 parent 17c95ce commit 2dfe8ce
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Please put environment variable for database settings.
db_user=$db_user
db_password=$db_password
db_host=host.docker.internal
db_post=5432
db_port=5432
```

## Create mbtiles
Expand Down
2 changes: 1 addition & 1 deletion config-search.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = {
user:process.env.db_user,
password:process.env.db_password,
host:process.env.db_host,
post:process.env.db_port,
port:process.env.db_port,
database:'nawassco_restored_13_11_2019',
},
layers : [
Expand Down
2 changes: 1 addition & 1 deletion config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ module.exports = {
user:process.env.db_user,
password:process.env.db_password,
host:process.env.db_host,
post:process.env.db_port,
port:process.env.db_port,
database:'nawassco_restored_13_11_2019',
},
mbtiles: __dirname + '/data/nakuru.mbtiles',
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
- db_user=$db_user
- db_password=$db_password
- db_host=host.docker.internal
- db_post=5432
- db_port=5432
volumes:
- ./data:/tmp/src/data
- ./public:/tmp/src/public
Expand Down
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ cd /tmp/src
echo "db_user=${db_user}" > .env
echo "db_password=${db_password}" > .env
echo "db_host=${db_host}" > .env
echo "db_post=${db_post}" > .env
echo "db_port=${db_port}" > .env
npm run create

0 comments on commit 2dfe8ce

Please sign in to comment.