Docs: update database manual

This commit is contained in:
Pieter Vander Vennet 2025-07-06 00:53:13 +02:00
parent 4d8720a856
commit a611d243ef

View file

@ -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