Skip to content

Ansible Container app for Django + PostgreSQL + Nginx with Gulp-built static assets

Notifications You must be signed in to change notification settings

j00bar/django-gulp-nginx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

20 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

django-gulp-nginx

Build Status

Simple Django web application to demo Ansible Container.

Ansible Container makes it possible to build container images using Ansible Playbooks rather than Dockerfile, and provides the tools you need to manage the complete container lifecycle from development to deployment.

With Ansible Container you get:

  • Tools you already know: Ansible and Docker Compose
  • Highly reusable code by way of Ansible roles
  • Easy to read and understand image build instructions contained in an playbook
  • Repeatable and testable image build process
  • A single orchestration document with settings for development and production
  • Auto-generated deployment role and playbook

Requirements

Ansible Container

Ansible Container requires access to a running Docker Engine or Docker Machine. For help with the installation, see our installation guide.

Usage

To run this app locally, create a project directory, and initialize it using Ansible Container. Pass the name of this project to the init command, and you'll instantly have a ready-to-go application:

$ mkdir demo
$ cd demo
$ ansible-container init chouseknecht.django-gulp-nginx 

Now from your project directory build the images:

$ ansible-container build

And finally, from your project directory run the app:

$ ansible-container run

About

Ansible Container app for Django + PostgreSQL + Nginx with Gulp-built static assets

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published