diff --git a/__n1 b/__n1 index 15e64e4..321ffe6 100644 --- a/__n1 +++ b/__n1 @@ -3,6 +3,6 @@ sudo docker run --rm \ --privileged \ -p 9999:9999 \ -p 8888:8888 \ - -v /home/user/work/fapi/fapi/src:/home/user/fapi \ - --name f1 \ + -v $(pwd):/home/user/fapi\ + --name b1 \ fapi bash diff --git a/_confs/.tmux.conf b/_confs/.tmux.conf index 5362015..ab17e7c 100644 --- a/_confs/.tmux.conf +++ b/_confs/.tmux.conf @@ -1,2 +1,2 @@ -set-option -g prefix C-s +set-option -g prefix C-e set -s set-clipboard on diff --git a/app/__pycache__/database.cpython-312.pyc b/app/__pycache__/database.cpython-312.pyc index 15fbdf4..71ab88b 100644 Binary files a/app/__pycache__/database.cpython-312.pyc and b/app/__pycache__/database.cpython-312.pyc differ diff --git a/app/__pycache__/main.cpython-312.pyc b/app/__pycache__/main.cpython-312.pyc index e61b612..49524d8 100644 Binary files a/app/__pycache__/main.cpython-312.pyc and b/app/__pycache__/main.cpython-312.pyc differ diff --git a/app/__pycache__/models.cpython-312.pyc b/app/__pycache__/models.cpython-312.pyc index b54a616..a487751 100644 Binary files a/app/__pycache__/models.cpython-312.pyc and b/app/__pycache__/models.cpython-312.pyc differ diff --git a/app/__pycache__/schemas.cpython-312.pyc b/app/__pycache__/schemas.cpython-312.pyc index a38fa0e..c2c98ab 100644 Binary files a/app/__pycache__/schemas.cpython-312.pyc and b/app/__pycache__/schemas.cpython-312.pyc differ diff --git a/app/database.py b/app/database.py index a754099..0e547a0 100644 --- a/app/database.py +++ b/app/database.py @@ -4,7 +4,7 @@ from sqlalchemy.ext.declarative import declarative_base from sqlalchemy.orm import sessionmaker #SQLALCHEMY_DATABASE_URL = "sqlite:///./test.db" # Dla SQLite -SQLALCHEMY_DATABASE_URL = "mysql+mysqldb://root:secret@172.19.0.4:3306/test" +SQLALCHEMY_DATABASE_URL = "mysql+mysqldb://root:secret@172.18.0.4:3306/test" engine = create_engine( SQLALCHEMY_DATABASE_URL,