Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

Awesome Lists containing this project

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