Merge branch 'main' of https://repos.hackathon.bz.it/2025-summer/team-1
This commit is contained in:
commit
dab8270bce
3 changed files with 18 additions and 18 deletions
|
@ -43,6 +43,6 @@ def join():
|
|||
return {"success": True, "ws": f"/ws/{room_id}"}
|
||||
|
||||
|
||||
init_db()
|
||||
if __name__ == "__main__":
|
||||
init_db()
|
||||
app.run(debug=True)
|
||||
|
|
|
@ -2,5 +2,5 @@ import sqlite3
|
|||
|
||||
|
||||
def get_connection():
|
||||
conn = sqlite3.connect("jukebox.db")
|
||||
conn = sqlite3.connect(".data/jukebox.db")
|
||||
return conn
|
||||
|
|
|
@ -1,18 +1,18 @@
|
|||
services:
|
||||
backend:
|
||||
build: ./backend
|
||||
ports:
|
||||
- 5001:5000
|
||||
environment:
|
||||
NODE_ENV: development
|
||||
volumes:
|
||||
- ./backend:/app
|
||||
- ./.data/jukebox.sqlite3:/app/.data/jukebox.sqlite3
|
||||
backend:
|
||||
build: ./backend
|
||||
ports:
|
||||
- 5001:5000
|
||||
environment:
|
||||
NODE_ENV: development
|
||||
volumes:
|
||||
- ./backend:/app
|
||||
- ./.data:/app/.data
|
||||
|
||||
frontend:
|
||||
build: ./frontend
|
||||
ports:
|
||||
- 5173:5173
|
||||
volumes:
|
||||
- ./frontend:/app
|
||||
- /app/node_modules
|
||||
frontend:
|
||||
build: ./frontend
|
||||
ports:
|
||||
- 5173:5173
|
||||
volumes:
|
||||
- ./frontend:/app
|
||||
- /app/node_modules
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue