This commit is contained in:
Simone Tesini 2025-08-01 20:59:41 +02:00
commit dab8270bce
3 changed files with 18 additions and 18 deletions

View file

@ -43,6 +43,6 @@ def join():
return {"success": True, "ws": f"/ws/{room_id}"} return {"success": True, "ws": f"/ws/{room_id}"}
if __name__ == "__main__":
init_db() init_db()
if __name__ == "__main__":
app.run(debug=True) app.run(debug=True)

View file

@ -2,5 +2,5 @@ import sqlite3
def get_connection(): def get_connection():
conn = sqlite3.connect("jukebox.db") conn = sqlite3.connect(".data/jukebox.db")
return conn return conn

View file

@ -7,7 +7,7 @@ services:
NODE_ENV: development NODE_ENV: development
volumes: volumes:
- ./backend:/app - ./backend:/app
- ./.data/jukebox.sqlite3:/app/.data/jukebox.sqlite3 - ./.data:/app/.data
frontend: frontend:
build: ./frontend build: ./frontend