forked from MapComplete/MapComplete
Docs: update database manual
This commit is contained in:
parent
4d8720a856
commit
a611d243ef
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ Save this config file somewhere as "postgresql.conf"
|
|||
|
||||
- Start the docker with: `docker run --name osm-cache-db -e POSTGRES_PASSWORD=password -e POSTGRES_USER=user -d -p 5444:5432 -v ~/data/pgsql/:/var/lib/postgresql/data -v postgresql.conf:/var/lib/postgresql/data/postgresql.conf postgis/postgis`
|
||||
- Now, change the config file. This can easily be done as the config file is mirrored to the host system at:
|
||||
`~/data/pgsql/postgresql.conf`. Overwrite this file with configuration above, e.g. with `cp`
|
||||
`~/data/pgsql/postgresql.conf`. Append this file with configuration above, e.g. with `cat posgresql.conf >> ~/data/pgsql/postgresql.conf`
|
||||
- Restart the db: `docker restart osm-cache-db`
|
||||
|
||||
# Seeding the data
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue