Could not open http://0.0.0.0:8000/admin/ on browser

Hi, kindly advise.

I created a docker file which expose port 8000, and install all packages like below:

django
gunicorn
mysqlclient
mysql-connector-python
djangorestframework
django-filter
djangorestframework-jwt

I also created docker-compose.yml and start it from Preferences/Project Interpreter/Add/Docker compose/ I chose Web and python3. It could install all packages well. I also set up django server and start runserver 0:8000. But I still could not open the admin page. If I do it all in Terminal I can open normally. But inside Pycharm, it just did not work.

web_1              | Performing system checks...
web_1              |
web_1              | System check identified no issues (0 silenced).
web_1              | April 06, 2018 - 20:28:26
web_1              | Django version 2.0.4, using settings 'myprojects.settings'
web_1              | Starting development server at http://0.0.0.0:8000/
web_1              | Quit the server with CONTROL-C.

Please if any helps. Thanks.

 

0

Please sign in to leave a comment.