Getting started with Django on Convox is easy. Your app will need a
.dockerignore, which you can either provide or generate using
Go to your local source directory and run
$ cd ~/myapp $ convox init Initializing django Writing Dockerfile... OK Writing docker-compose.yml... OK Writing .dockerignore... OK
See Preparing an Application for more details.
docker-compose.yml will set up the following:
This wrapper script will be created to assist in booting your application. You can find the source here.
Nginx is included in your application to buffer incoming connections and inject proper headers to incoming HTTPS requests. You can find the configuration here.