GithubHelp home page GithubHelp logo

adrianovieira / docker-flask Goto Github PK

View Code? Open in Web Editor NEW
3.0 2.0 0.0 25 KB

Flask app over apache+wsgi

Home Page: https://hub.docker.com/r/adrianovieira/flask

License: MIT License

Python 26.77% Shell 32.70% HTML 22.01% Dockerfile 18.52%

docker-flask's Introduction

Python Flask

Table of contents

  1. Overview
  2. Technologies
  3. Authors
  4. Contributors
  5. Compatibility
  6. Requirements
  7. Setup and Tasting

Overview

A simple application for tasting and findings on Docker Swarm cluster (docker-1.12+).

Technologies

  • Docker-1.12.0~rc4

Authors

  • Adriano Vieira (adriano.svieira at gmail.com)

Contributors

  • TBD

Compatibility

Built on CEntOS-7 as base Docker image.

Moreover, we also have debian8, python-2.7 and Ubuntu-16 Dockerfile to build images, but these ones aren't supported.

Tags

  • standard and supported:
    • centos7 (latest): built based on centos:7 image

PoC only

Proof of Concept for image sizes:

  • debian8: built based on debian:jessie image
  • python27: built based on python:2.7 image
  • ubuntu16: built based on ubuntu:xenial image

Requirements

Setup and Tasting

First of all we need a host with Docker-1.12+ pre-installed and running. May be you could use one of my "Docker boxes" https://app.vagrantup.com/adrianovieira with built-in docker-1.12.

The docker images can be found on Docker Hub - https://hub.docker.com/r/adrianovieira/flask/

If you're familiar Docker with you could take it (e.g.: docker pull adrianovieira/flask) and play around.

If not, let me know how I can improve this doc.

You'd take a look at my other project https://github.com/adrianovieira/docker-swarm.

Proxy

If you are behind a proxy and is having problems pulling docker imagens... setup Systemd Docker own Service, as below (well done on CEntOS-7):

# setup docker service proxy (as root user)
mkdir -p /etc/systemd/system/docker.service.d
echo "[Service]" > /etc/systemd/system/docker.service.d/proxy.conf
echo "Environment='HTTPS_PROXY=$HTTP_PROXY' 'HTTP_PROXY=$HTTP_PROXY'" >> /etc/systemd/system/docker.service.d/proxy.conf
systemctl daemon-reload && systemctl restart docker

keep CALMS and having fun

docker-flask's People

Contributors

adrianovieira avatar

Stargazers

 avatar  avatar  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.