Skip to content

Commit

Permalink
More flyio fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott-Sowers-PostHog committed Dec 19, 2024
1 parent a849c98 commit e44ea0c
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
Binary file modified __pycache__/config.cpython-312.pyc
Binary file not shown.
2 changes: 1 addition & 1 deletion config.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
load_dotenv()

class Config:
SQLALCHEMY_DATABASE_URI = 'sqlite:///hogflix.sqlite'
SQLALCHEMY_DATABASE_URI = os.getenv('SQLALCHEMY_DATABASE_URI','sqlite:///hogflix.sqlite')
SQLALCHEMY_TRACK_MODIFICATIONS = False
SECRET_KEY = os.urandom(24)
WTF_CSRF_ENABLED = True
Expand Down
6 changes: 6 additions & 0 deletions fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,3 +21,9 @@ primary_region = 'sjc'
cpu_kind = 'shared'
cpus = 1
memory_mb = 1024

[mounts]
source = "hogflix1"
destination = "/data"


0 comments on commit e44ea0c

Please sign in to comment.