PostgreSQL backend for IAG's devops challenge.
This container provides a PostgreSQL python backend used as part of IAG's devops interview process. The container is to be paired with its frontend container.
The container provides a backend that listens on port 8000 and connects to a PostgreSQL database (connection controlled via environment variables described below). If you wish to see the application, you can clone the repository, and run the docker-compose file located in the repositories root.
In order to run this container you'll need docker installed.
| Variable Name | Description | Default |
|---|---|---|
| DB_NAME | The name of the database we are connecting to. | postgres |
| DB_USER | The username to connect to the database with. | postgres |
| DB_PASS | The password to connect to the database with | password |
| DB_HOST | The DNS name or IP address of the database server. | localhost |
| DB_PORT | The port the database listens on. | 5432 |
- nginx:alpine (latest at time of build)
Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.
We use SemVer for versioning. For the versions available, see the tags on this repository.
- Ethan McGee - Initial work - ethantmcgee
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the LICENSE.md file for details.