Backend container works with autoreloading.. :-)
This commit is contained in:
parent
02fc2bb4ef
commit
001db06659
2 changed files with 2 additions and 2 deletions
|
@ -27,7 +27,7 @@ db = flask_sqlalchemy.SQLAlchemy()
|
||||||
guard = flask_praetorian.Praetorian()
|
guard = flask_praetorian.Praetorian()
|
||||||
cors = flask_cors.CORS()
|
cors = flask_cors.CORS()
|
||||||
|
|
||||||
class User(db.model):
|
class User(db.Model):
|
||||||
id = db.Column(db.Integer, primary_key=True)
|
id = db.Column(db.Integer, primary_key=True)
|
||||||
username = db.Column(db.Text, unique=True)
|
username = db.Column(db.Text, unique=True)
|
||||||
password = db.Column(db.Text)
|
password = db.Column(db.Text)
|
||||||
|
|
|
@ -20,7 +20,7 @@ services:
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
tty: true
|
tty: true
|
||||||
volumes:
|
volumes:
|
||||||
- ./backend:/app
|
- ./backend/src:/app/
|
||||||
ports:
|
ports:
|
||||||
- 5000:5000
|
- 5000:5000
|
||||||
environment:
|
environment:
|
||||||
|
|
Loading…
Reference in a new issue