GithubHelp home page GithubHelp logo

jhonatan-github / container-orchestration Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gpupo/container-orchestration

0.0 0.0 0.0 34.43 MB

Container-orchestration sets for automating deployment, scaling and management of containerized clusters

Home Page: https://opensource.gpupo.com/container-orchestration/

License: MIT License

PHP 0.19% Shell 58.53% Dockerfile 37.75% Makefile 3.54%

container-orchestration's Introduction

container-orchestration

Container-orchestration sets for automating deployment, scaling and management of containerized clusters

Buil Docker Images at tag creation

Docker Pulls

Requirements

  • Docker

Use images only with Docker

Python

docker run -v "$PWD":/usr/src/app -it --entrypoint /bin/bash \
gpupo/container-orchestration:python-dev

PHP

docker run -v "$PWD":/var/www/app -it --entrypoint /bin/bash \
gpupo/container-orchestration:php-dev

To run Symfony 5, create th docker-compose.yaml file with content:

version: '2'
services:
    php:
        container_name: php
        image: gpupo/container-orchestration:php-fpm
        volumes:
            - ./:/var/www/app
        networks:
            - backend
    nginx-upstream:
        container_name: nginx-upstream
        image: gpupo/container-orchestration:nginx-upstream
        ports:
            - "80:80"
        links:
            - php
        volumes:
            - ./:/var/www/app
        networks:
            - frontend
            - backend
networks:
    frontend:
    backend:

and run

docker-compose up -d

or simple run:

docker run -d gpupo/container-orchestration:php-dev

Development

  1. Clone this project;

  2. Fork https://github.com/gpupo/container-orchestration;

  3. Add your fork url as Remote in your local repository;

  4. Create a fetature branch

  5. Edit and build images;

  6. Push new codes into your remote branch;

  7. Create a Pull Request

Build Images

docker-compose build

Upload to Docker Hub (if you have permission!)

docker push gpupo/container-orchestration

OSX upload workaround

docker login -u gpupo -p ******** docker.io && docker push gpupo/container-orchestration

container-orchestration's People

Contributors

gpupo avatar jhonatan-github 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.