Skip to content

Commit 746deb6

Browse files
fix(k8s): set DJANGO_ALLOWED_HOSTS=*
1 parent e8122f9 commit 746deb6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

helm-chart/templates/deployment.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ spec:
3232
command: [ 'python3', 'manage.py' ]
3333
args: [ 'runserver', '0.0.0.0:80' ]
3434
env:
35+
- name: DJANGO_ALLOWED_HOSTS
36+
value: '*'
3537
- name: PGHOST
3638
value: {{ include "third-places.fullname" . }}-postgresql
3739
- name: PGPORT

0 commit comments

Comments
 (0)