Code Monkey home page Code Monkey logo

apache-py2-django's Introduction

Docker-Image: apache-py2-django

Created By: Benjamin P. Trachtenberg

Contact Information: [email protected]

If you have any questions e-mail me

Docker Hub: Image

About

This image is for Python Django Apps written in Python 2

Image Versions in apache-py2-django:1.1

  • Python: 2.7.12
  • Apache: 2.4.18 (Ubuntu) with mod_wsgi
  • Django: 1.11.2
  • Django-Localflavor: 1.5.1
  • MySQL-python: 1.2.5

Image Versions in apache-py2-django:1.2

  • Python: 2.7.12
  • Apache: 2.4.18 (Ubuntu) with mod_wsgi
  • Django: 1.11.2
  • Django-Localflavor: 1.5.1
  • MySQL-python: 1.2.5
  • apache-site-conf.py: 1.0.0.prod

Image Versions in apache-py2-django:1.3

  • Python: 2.7.12
  • Apache: 2.4.18 (Ubuntu) with mod_wsgi
  • Django: 1.11.2
  • Django-Localflavor: 1.5.1
  • MySQL-python: 1.2.5
  • apache-site-conf.py: 1.0.1.prod
  • apache-site-conf.sh: 1.0 prod

Image Versions in apache-py2-django:1.4

  • Added ENV SITE_DIRECTORY_NAME, to bot conf build scripts, to helb build easier

Docker-Image Version Tags

  • latest
  • 1.1
  • 1.2
  • 1.3
  • 1.4

-- Version News: apache-py2-django:1.3 --

Updated Python script that builds the apache conf file Added a bash script that builds the apache conf file Both scripts do the same thing, so use whichever you want.

Important usage info

There are 3 important ENV varibales you should use when using this

ENV SITE_SERVER_NAME
ENV SITE_SERVER_ADMIN
ENV SITE_DIRECTORY_NAME

Set these befor running the apache-site-conf.py, or apache-site-conf.sh script.

Example Dockerfile

FROM btr1975/apache-py2-django:1.4

ENV SITE_SERVER_NAME="www.example.com"
ENV SITE_SERVER_ADMIN="[email protected]"
ENV SITE_DIRECTORY_NAME="SomeDir"

COPY ./SomeDir .

RUN chmod 755 -R /DjangoSites \
    && /bin/apache-site-conf.sh

apache-py2-django's People

Contributors

btr1975 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.