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: 15 days ago
JSON representation

Postgres image with dump data

Lists

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
```