modules = ["bash", "web", "nodejs-20", "python-3.13", "python3"] [nix] channel = "stable-25_05" packages = ["freetype", "gdal", "geos", "gitFull", "lcms2", "libimagequant", "libjpeg", "libtiff", "libwebp", "libxcrypt", "openjpeg", "playwright-driver", "postgresql", "proj", "tcl", "tk", "uv", "zlib"] [agent] expertMode = true [workflows] runButton = "Project" [[workflows.workflow]] name = "Project" mode = "parallel" author = "agent" [[workflows.workflow.tasks]] task = "workflow.run" args = "ThrillWiki Server" [[workflows.workflow]] name = "ThrillWiki Server" author = "agent" [[workflows.workflow.tasks]] task = "shell.exec" args = "cd backend && /nix/store/75k8jgyjrh86099bksak7a1frph0j611-uv-0.7.20/bin/uv run python manage.py runserver 0.0.0.0:5000" waitForPort = 5000 [workflows.workflow.metadata] outputType = "webview" [[ports]] localPort = 5000 externalPort = 80 [[ports]] localPort = 34277 externalPort = 3000 [[ports]] localPort = 38955 externalPort = 3001 [deployment] deploymentTarget = "autoscale" run = ["gunicorn", "--bind=0.0.0.0:5000", "--reuse-port", "thrillwiki.wsgi:application"] build = ["uv", "pip", "install", "--system", "-r", "requirements.txt"]