Giter Site home page Giter Site logo

compose-update's Introduction

compose-update a docker-compose-image-updater

Test

This python script updates the images of one or many docker-compose stacks automatically.

If multiple docker-compose directories are supplied, the script updates them in parallel.

Demo

This DEMO is outdated. Use compose-update * to update all subdirectories output

Usage

command: compose-update * for update all sub directory

Usage: compose-update [OPTIONS] [UPDATE_DIRS]...

  Update docker-compose images automatically.

  Takes one or more directories as input and searches for a
  compose file in one of the following forms:
  "compose.yaml", "compose.yml",
  "docker-compose.yaml", "docker-compose.yml"

Options:
  --prune, -p           Prune docker images after update
                        process if set
  --help                Show this message and exit.

By default the script gets run by the python interpreter python3.

If you want to run the script with a different python interpreter you can just call it as you would normaly with the interpreter.

python3 compose-update

Installation

git clone https://github.com/FrederikRogalski/compose-update.git
cd compose-update
pip3 install -r requirements.txt
chmod +x compose-update

Then add the file 'update-compose' to your path.

Known issues

At the moment the script has a problem with reading from stdin. Please supply your arguments after the command until this is fixed.

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.