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

https://github.com/nim579/docker-pyrseas

Pyrseas tool docker image
https://github.com/nim579/docker-pyrseas

docker docker-image dockerfile migrations migrator postgres postgresql pyrseas sql yaml

Last synced: 2 months ago
JSON representation

Pyrseas tool docker image

Awesome Lists containing this project

README

          

# docker-pyrseas
Pyrseas tool docker image.

Pyrseas provides a framework and utilities to upgrade and maintain a relational database — http://pyrseas.projects.pgfoundry.org/

## Create a `Dockerfile`

```
FROM nim579/pyrseas

ADD ./schema.yml ./schema.yml

CMD yamltodb --update $PGDATABASE schema.yml
```

## Running

```
docker run -e PGHOST=localhost -e PGPORT=5432 -e PGUSER=postgres -e PGPASSWORD=password -e PGDATABASE=mydatabase pyrseas
```

## Pyrseas docs

http://pyrseas.readthedocs.io/en/latest/index.html