Sign inSign up

joppsdev/apachewsgi

By joppsdev

Updated over 5 years ago

Apache server with mod_wsgi enabled for python web apps

Image
0

248

joppsdev/apachewsgi repository overview

Command for starting the container:

  • docker run --name apachewsgi-server -v "AbsolutePathToWebFolder:/var/www/html" -p 80:80 -d joppsdev/apachewsgi:tagname

For app to work you, need to place the wsgi.py file in a folder named config , or edit the /etc/apache2/conf-available/wsgi.conf and replace the second parameter from the line WSGIScriptAlias / /var/www/html/config/wsgi.py with the path to your script

Version 1.0 contains the following:

  • Ubuntu 20.04
  • Apache 2.4.41
  • Python 3.8.5

NOTE: If you need django, you still need to enter the image and install your python modules, like pymysql for mysql communication and django for web framework

Tag summary

Content type

Image

Digest

Size

164.5 MB

Last updated

over 5 years ago

docker pull joppsdev/apachewsgi