add docker-compose file and configure PostgreSQL service; update database credentials in app.py

This commit is contained in:
2026-01-11 13:38:52 +00:00
parent fd437db4eb
commit 1907760f1a
2 changed files with 17 additions and 1 deletions

View File

@@ -2,7 +2,7 @@ from flask import Flask
from db.database import Database
app = Flask(__name__)
db = Database(db_name='ethnograph', user='user', password='password')
db = Database(db_name='ethnograph', user='ethnograph_user', password='ethnograph_pass')
@app.route('/')
def index():