docs(readme): add pgAdmin instructions

master
arcbjorn 2 years ago
parent b2b20667e9
commit dc421c6a5d

@ -8,6 +8,12 @@ Infrastructure for base server
chmod +x scripts/create-multiple-postgresql-databases.sh
```
#### For [pgAdmin](https://www.pgadmin.org/docs/pgadmin4/latest/container_deployment.html#mapped-files-and-directories):
```sh
sudo chown -R 5050:5050 <host_directory>
```
#### Database backup & restore:
Backup:
@ -22,7 +28,7 @@ Restore:
cat <dump_name>.sql | docker exec -i <postgres-container-id> psql -U <user>
```
Example of connection:
#### Example of connection:
```sh
# host = container_name

Loading…
Cancel
Save