https://github.com/bradymholt/docker-postgresql-northwind
A PostgreSQL server with the Northwind sample database
https://github.com/bradymholt/docker-postgresql-northwind
Last synced: 22 days ago
JSON representation
A PostgreSQL server with the Northwind sample database
- Host: GitHub
- URL: https://github.com/bradymholt/docker-postgresql-northwind
- Owner: bradymholt
- License: mit
- Created: 2019-12-18T19:23:47.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-12-18T22:08:48.000Z (over 5 years ago)
- Last Synced: 2025-02-10T04:41:29.260Z (3 months ago)
- Language: TSQL
- Size: 54.7 KB
- Stars: 3
- Watchers: 2
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# docker-postgresql-northwind
A PostgreSQL server with the Northwind sample database
This Docker image is useful for quickly getting a database up and running with
sample data for testing from an application.## Commands
### Run
```
docker run --rm -it -p 5432:5432 --name postgres-northwind bradymholt/postgres-northwind:latest
```### Connect with psql
From Docker
```
docker exec -it postgres-northwind psql -U northwind
```
From Host
```
psql postgres://northwind:@127.0.0.1/northwind
```