Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/brianlesko/postresql-docker
Run a postgreSQL server hosted in a docker container, and start a webUI for basic querying
https://github.com/brianlesko/postresql-docker
basics container containerization containers data data-science docker postgres postgresql sql template
Last synced: about 20 hours ago
JSON representation
Run a postgreSQL server hosted in a docker container, and start a webUI for basic querying
- Host: GitHub
- URL: https://github.com/brianlesko/postresql-docker
- Owner: BrianLesko
- Created: 2024-08-01T16:22:12.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-08-28T01:19:03.000Z (2 months ago)
- Last Synced: 2024-08-28T18:27:11.904Z (2 months ago)
- Topics: basics, container, containerization, containers, data, data-science, docker, postgres, postgresql, sql, template
- Language: Python
- Homepage:
- Size: 6.84 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
Awesome Lists containing this project
README
# Launch and interact with a SQL database server via a web UI
The main goal of this project is to use PostegreSQL, one of the oldest Structured Query Languages, to implement a data server that can accept queries for retreival and augmentation from the local computer network.
Sub goals in the project consist of making sure the data is persistent, that the database server launches on bootup from a linux computer, and that the project can launch from a pc or mac that has docker desktop running. Of course I also want to learn some PostreSQL queries.
## Dependencies
Python libraries
- `streamlit`: to create the user interface with pure python
- `psycopg2`: to query the SQL database - did not install right
- `psycopg2-binary`: also needed for querying the databaseDocker
- I am opting for the alpine linux docker cotnainer for a small footprint.
- Heres the image: PostgreSQL has an [official docker image](https://hub.docker.com/_/postgres)