docker stuff

This commit is contained in:
Bryan Gerlach
2026-02-15 19:12:24 -06:00
parent 5aa976dea4
commit 3e8936998e
2 changed files with 5 additions and 1 deletions

View File

@@ -18,3 +18,7 @@ services:
- "8000:8000"
dns:
- 8.8.8.8
volumes:
- ./exe:/opt/rdgen/exe
- ./png:/opt/rdgen/png
- ./temp_zips:/opt/rdgen/temp_zips

View File

@@ -35,7 +35,7 @@ MEDIA_ROOT = os.path.join(BASE_DIR, 'media')
# SECURITY WARNING: don't run with debug turned on in production!
DEBUG = False
DEBUG = os.environ.get("DEBUG", False)
ALLOWED_HOSTS = ['*']
#CSRF_TRUSTED_ORIGINS = os.getenv('CSRF_TRUSTED_ORIGINS', '').split()