Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mgramin/docker-postgres-up-from-dump
Postgres image with dump data
https://github.com/mgramin/docker-postgres-up-from-dump
docker dump postgresql
Last synced: 3 months ago
JSON representation
Postgres image with dump data
- Host: GitHub
- URL: https://github.com/mgramin/docker-postgres-up-from-dump
- Owner: mgramin
- License: mit
- Created: 2017-05-28T20:32:39.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2022-03-12T10:38:11.000Z (over 2 years ago)
- Last Synced: 2024-06-22T20:24:36.339Z (5 months ago)
- Topics: docker, dump, postgresql
- Language: Dockerfile
- Homepage:
- Size: 7.81 KB
- Stars: 5
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - mgramin/docker-postgres-up-from-dump - Postgres image with dump data (Dockerfile)
README
# docker-postgres-up-from-dump
Postgres image with dump data.
## Build it:
Build with Postgres Pro demo database dump:
```
docker build --build-arg DUMP_URI=https://edu.postgrespro.ru/demo-small.zip -t postgres-pro-small-demo-db .
```Build without dump:
```
docker build --build-arg .
```## Run it:
```
docker run -d --name pg_demo_db -e POSTGRES_PASSWORD=postgres -t -p 5432:5432 postgres-pro-small-demo-db
```