diff --git a/Docs/SettingUpPSQL.md b/Docs/SettingUpPSQL.md index 17f0ab606..7a429b062 100644 --- a/Docs/SettingUpPSQL.md +++ b/Docs/SettingUpPSQL.md @@ -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