maxamillion/fig

Project ID: 1314

Description

This is a workspace to get fig and it's dependencies not currently available in Fedora packaged and tested before filing review requests. The end goal is to have each of these packages available in Fedora proper.

python-texttable | Review Request: APPROVED

python-dockerpty | Review Request: APPROVED

python-requests | RFE(Latest version in F20): Open

fig | Review Request: UNASSIGNED

Note: Fedora 20 is currently blocked on latest version of python-requests.

Keep in mind that docker in Fedora is SELinux enabled by default and as a side effect, you need to appropriately label files/directories you would like to share with docker (i.e. - your fig dir).

Using the "Getting Started" section from fig's website:

## Make sure you have docker running # systemctl start docker.service $ mkdir ~/figtest # semanage fcontext -a -t docker_share_t '/home/username/figtest(/.*)?' # Set SELinux labels # restorecon -Rv /home/uesrname/figtest $ cd ~/figtest $ cat > app.py <<EOF from flask import Flask from redis import Redis import os app = Flask(__name__) redis = Redis(host="redis_1", port=6379) @app.route('/') def hello(): redis.incr('hits') return 'Hello World! I have been seen %s times.' % redis.get('hits') if __name__ == "__main__": app.run(host="0.0.0.0", debug=True) EOF $ cat > requirements.txt <<EOF flask redis EOF $ cat > Dockerfile <<EOF FROM python:2.7 ADD . /code WORKDIR /code RUN pip install -r requirements.txt EOF $ cat > fig.yml <<EOF web: build: . command: python app.py ports: - "5000:5000" volumes: - .:/code links: - redis redis: image: redis $ fig up ### Should be a lot of output here about pulling docker container, starting redis, etc.

Installation Instructions

yum install fig

Active Releases

The following unofficial repositories are provided as-is by owner of this project. Contact the owner directly for bugs or issues (IE: not bugzilla).

Release Architectures Repo Download

* Total number of downloaded packages.