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: 29 days 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 (almost 3 years ago)
- Last Synced: 2024-08-03T22:18:56.419Z (4 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
```