• Stars
    star
    102
  • Rank 335,584 (Top 7 %)
  • Language Nginx
  • Created over 10 years ago
  • Updated over 9 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

An experimental docker setup for Python / Gunicorn / Nginx stack

Docker Python Base

A bare bones python Docker setup to support local and production development from a single ops base. A super simple Flask app is contained in the app/ directory for demo purposes, but this can easily be switched for any WSGI compatible application.

Steps to run

For local development simply run make run-local. Once built, the container will run the Flask demo app on http://<container_ip>:5000.

To run the deploy in a production container, run make run-deploy. Once built, the container will run the Flask demo app on http://<container_ip>.

In addition to the run commands, make build-local and make build-deploy are available to allow building containers without running them.

Useful Docker Commands (use with care)

  • View docker images
docker images
  • List actively running images (add -l to include stopped containers)
docker ps
  • View container logs
docker logs -f <containerID>
  • Stop container
docker stop <containerID>
  • Delete dead images
for i in `docker images|grep \<none\>|awk '{print $3}'`;do docker rmi $i;done
  • Delete containers
docker rm -f `docker ps --no-trunc -a -q`

More Repositories

1

fbmessenger

A python library to communicate with the Facebook Messenger API's
Python
113
star
2

blink-detect

JavaScript
17
star
3

fe-skeleton

The official front-end skeleton used by rehabstudio.
JavaScript
16
star
4

vagrant-python-appengine

A vagrant box that sets up a Google Appengine/Python environment for local development purposes
Shell
10
star
5

animixer

Generate and return generated animal to google assistant using firebase
Jupyter Notebook
6
star
6

ludumdare-32

'Gradience' - our team entry to the Ludum Dare weekend game jam - April 2015
JavaScript
5
star
7

vagrant-puppet-cakephp

A vagrant box based on puphpet that has some customisations and supports setup of the FriendsOfCake/app-template project
Puppet
5
star
8

docker-autoproxy

A simple Go application that runs alongside nginx in a docker container and can automatically configure the server (nginx) to provide reverse proxy functionality for any containers running on the same host.
Go
5
star
9

docker-autodns

Simple inter-container DNS for containers on a single docker host.
ApacheConf
4
star
10

oneill

oneill is a small tool that manages a set of docker containers running on a single host.
Go
4
star
11

dockerfiles

Dockerfiles for automated building of public images on Docker Hub
Python
4
star
12

docker-alpine-node-npm-gulp

lightweight alpine, node, npm & gulp container
Shell
3
star
13

vagrant-php-nginx-mysql-cake

Ubuntu PHP/MySQL/Nginx vagrant box with cake dependencies preloaded
Puppet
3
star
14

oneill-server

Ansible roles that allow the user to bootstrap, provision and manage an oneill controlled docker host on a supported platform.
ApacheConf
3
star
15

app-deployer

Ruby gem for app deployment. Has tasks for various frameworks, databases and web servers including CakePHP, Lithium, MySQL, Nginx and Apache. Uses railsless deploy
Ruby
2
star
16

rehab-rip

Gathers up image elements in the DOM denoted with a particular class and hides them until their source has been determined and preloaded.
JavaScript
2
star
17

vagrant-php-nginx-mysql

Ubuntu PHP/MySQL/Nginx vagrant box with some other common libraries preloaded
Puppet
2
star
18

wit-js

A modern Node wrapper for the Wit.ai API using Promises and Events.
JavaScript
2
star
19

docker-appengine-djangae

Djangae on App Engine for Docker
Python
1
star
20

docker-registry-gce

Provision a new private docker registry on GCE
1
star
21

docker-multiprovisioning-template

Bare bones Docker setup, demonstrating the ability to have varying provisions from a single Dockerfile, depending on the ENV vars passed during `docker run`
Shell
1
star
22

jira-rehabstudioproject

A jira plugin that allows you to create a 'rehabstudio' project type
Java
1
star
23

fe-skeleton-testsuite

A wrapper for the test suite of the rehabstudio front-end skeleton.
JavaScript
1
star
24

devdocs

rehabstudio Developersโ€™ Documentation
Python
1
star
25

puppet-capistrano

Simple capistrano submodule for vagrantboxes repo
Puppet
1
star
26

tina-the-trex-website

React/Redux app that communicates with the Tina the T. rex chatbot
JavaScript
1
star
27

rehabstudio.github.com

1
star