docker stuff
This commit is contained in:
@@ -18,3 +18,7 @@ services:
|
|||||||
- "8000:8000"
|
- "8000:8000"
|
||||||
dns:
|
dns:
|
||||||
- 8.8.8.8
|
- 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!
|
# SECURITY WARNING: don't run with debug turned on in production!
|
||||||
DEBUG = False
|
DEBUG = os.environ.get("DEBUG", False)
|
||||||
|
|
||||||
ALLOWED_HOSTS = ['*']
|
ALLOWED_HOSTS = ['*']
|
||||||
#CSRF_TRUSTED_ORIGINS = os.getenv('CSRF_TRUSTED_ORIGINS', '').split()
|
#CSRF_TRUSTED_ORIGINS = os.getenv('CSRF_TRUSTED_ORIGINS', '').split()
|
||||||
|
|||||||
Reference in New Issue
Block a user