Spaces:
Running
Running
Commit
·
f4ee540
1
Parent(s):
ab7b204
allowed all hosts
Browse files- Dockerfile +1 -1
- templator/settings.py +1 -1
Dockerfile
CHANGED
|
@@ -31,4 +31,4 @@ RUN ls -l
|
|
| 31 |
EXPOSE 3306
|
| 32 |
|
| 33 |
|
| 34 |
-
CMD [ "python3
|
|
|
|
| 31 |
EXPOSE 3306
|
| 32 |
|
| 33 |
|
| 34 |
+
CMD [ "python3 manage.py runserver 0.0.0.0:3306" ]
|
templator/settings.py
CHANGED
|
@@ -25,7 +25,7 @@ SECRET_KEY = 'django-insecure-*=rt2ef(vgm1eo5vf7-da_zyvpi+6!70y@ort!j05z5_3lwta9
|
|
| 25 |
# SECURITY WARNING: don't run with debug turned on in production!
|
| 26 |
DEBUG = True
|
| 27 |
|
| 28 |
-
ALLOWED_HOSTS = []
|
| 29 |
|
| 30 |
|
| 31 |
# Application definition
|
|
|
|
| 25 |
# SECURITY WARNING: don't run with debug turned on in production!
|
| 26 |
DEBUG = True
|
| 27 |
|
| 28 |
+
ALLOWED_HOSTS = ['*']
|
| 29 |
|
| 30 |
|
| 31 |
# Application definition
|