GithubHelp home page GithubHelp logo

docker-satisfy's Introduction

Satisfy in Docker

License Built with Nginx Docker Automated build Docker Pulls

Satisfy - Satis composer repository manager with a Web UI, in Docker container based on Alpine Linux.

Features

  • After container launch, configured repos are synced every CRON_SYNC_EVERY seconds (60), as long as CRON_ENABLED is true
  • If ADD_HOST_KEYS is true, any time new Git repo is added, SSH fingerprints are collected and saved.
  • SSH private key can be passed via SSH_PRIVATE_KEY to enable sync for git+ssh type repos.

Versions

component version
Alpine Linux 3.8
PHP 7.2
Composer 1.8.4
Satisfy 3.0.4

Build and Run

docker build -t satisfy .
docker run -d --rm \
           --name satisfy \
           -e SSH_PRIVATE_KEY="$(<./id_rsa)" \
           -p 8080:8080 \
           satisfy

Run

docker run -d --rm \
           --name satisfy \
           -e SSH_PRIVATE_KEY="$(<./id_rsa)" \
           -e CRON_SYNC_EVERY=120 \
           -p 8080:8080 \
           anapsix/satisfy

Launch options

See entrypoint.sh for more details

option description
REPO_NAME name of your repository, defaults to myrepo
HOMEPAGE url of this repository, defaults to http://localhost:8080
SSH_PRIVATE_KEY private SSH key, used to access git repos, unused by default
ADD_HOST_KEYS flag to enable watching satis.json for git repos, also turns on SSH StrictHostKeyChecking, defaults to false
CRON_ENABLED flag to enable periodic satis build, defaults to true
CRON_SYNC_EVERY rebuild satis index frequency, in seconds, defaults to 60

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.