mirror of
https://github.com/bryangerlach/rdgen.git
synced 2026-03-07 22:33:06 +00:00
docker stuff
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user