attempted enabling HTTPS dev server

This commit is contained in:
CDaut 2022-06-27 23:33:46 +02:00 committed by CDaut
parent e52cfa83f5
commit 7f608e9663
4 changed files with 9 additions and 6 deletions

1
.gitignore vendored
View file

@ -287,3 +287,4 @@ fabric.properties
/markdownblog/static
/*.pem
/markdownblog/cert.*

View file

@ -11,9 +11,7 @@ services:
- "8000:8000"
env_file:
- envvars.env
command: python3 manage.py runserver 0.0.0.0:8000
command: python3 manage.py runserver_plus --cert-file cert.pem --key-file key.pem --keep-meta-shutdown 0.0.0.0:8000
db:
image: postgres:14.3-alpine

View file

@ -33,6 +33,7 @@ INSTALLED_APPS = [
'markdownblog',
'fontawesomefree',
'django_2fa',
'django_extensions',
'django.contrib.admin',
'django.contrib.auth',
'django.contrib.contenttypes',

View file

@ -5,3 +5,6 @@ markdown2==2.4.3
fontawesomefree==6.1.1
pygments==2.12.0
django-2fa==0.9.0
django-extensions==3.1.5
Werkzeug==2.1.2
pyOpenSSL==22.0.0