https://github.com/codebam/postgres-dockercompose
https://github.com/codebam/postgres-dockercompose
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/codebam/postgres-dockercompose
- Owner: codebam
- License: gpl-3.0
- Created: 2018-10-29T08:28:22.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2018-10-29T09:16:42.000Z (over 6 years ago)
- Last Synced: 2025-01-15T13:58:18.516Z (5 months ago)
- Language: Python
- Size: 16.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.md
- License: LICENSE
Awesome Lists containing this project
README
This is a docker-compose container that can be used to rollout a database that
can be connected to from your your local machine.To run `docker-compose up`
To run commands on the database edit `forumdb.py` or `forum.py`, install the
appropriate libraries, and then run `python forum.py`.- you need to install psycopg2 for python to use the python file
To connect to the database using adminer open
[localhost:8080](http://localhost:8080) and login using:System | PostgreSQL
--- | ---
Server | postgres
Username | root
Password | toor
Database | postgresor just click [here](http://localhost:8080/?pgsql=postgres&username=root&db=postgres&ns=public) to login directly