how to deploy django based website using docker

Solutions on MaxInterview for how to deploy django based website using docker by the best coders in the world

showing results for - "how to deploy django based website using docker"
Sergio
03 Feb 2020
1$ docker run -it -p 8020:8020 \
2     -e DJANGO_SUPERUSER_USERNAME=admin \
3     -e DJANGO_SUPERUSER_PASSWORD=sekret1 \
4     -e DJANGO_SUPERUSER_EMAIL=admin@example.com \
5     django-markdown-editor
6
7Superuser created successfully
8[2020-01-24 00:00:47 +0000] [8] [INFO] Starting gunicorn 20.0.4
9[2020-01-24 00:00:47 +0000] [8] [INFO] Listening at: http://0.0.0.0:8010 (8)
10[2020-01-24 00:00:47 +0000] [8] [INFO] Using worker: sync
11[2020-01-24 00:00:47 +0000] [15] [INFO] Booting worker with pid: 15
12[2020-01-24 00:00:47 +0000] [16] [INFO] Booting worker with pid: 16
13[2020-01-24 00:00:47 +0000] [17] [INFO] Booting worker with pid: 17
14