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
- Host: GitHub
- URL: https://github.com/nim579/docker-pyrseas
- Owner: nim579
- License: mit
- Created: 2017-02-08T10:19:56.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-02-08T10:44:22.000Z (over 9 years ago)
- Last Synced: 2025-02-01T10:11:25.215Z (over 1 year ago)
- Topics: docker, docker-image, dockerfile, migrations, migrator, postgres, postgresql, pyrseas, sql, yaml
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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