GithubHelp home page GithubHelp logo

docker-aptly's Introduction

Docker Aptly images

This repository contains Docker images for Aptly components and tools.

  • aptly
    • Container with aptly tooling
  • aptly-api
    • Container running aptly api serve
  • aptly-public
    • Container running nginx and serving aptly's public directory
  • aptly-publisher
    • Container with aptly-publisher tool for management of Aptly publishes, requires running aptly-api

aptly-api

Environment variables

  • USER_ID - UID of aptly user (default 501)
  • FULL_NAME - Full name for GPG key generation (if it doesn't already exist)
  • EMAIL_ADDRESS - Email address for GPG key generation

Usage

To have persistant Aptly instance, you need to use persistent volume. Recommended way is to bind-mount it into /var/lib/aptly.

Run aptly API:

docker run -v /srv/aptly:/var/lib/aptly tcpcloud/aptly-api

Run aptly action, eg. list repos:

docker run -it -v /srv/aptly:/var/lib/aptly tcpcloud/aptly-api aptly repo list

aptly-public

To be able to provide access to repository, you can use aptly-web image which will run Nginx to serve aptly's public directory.

Usage

Simply bind-mount public directory on your aptly volume as /var/www/html, eg.:

docker run -v /srv/aptly/public:/var/www:ro tcpcloud/aptly-public

aptly-publisher

Usage

You can use aptly-publisher in a similar way as if it's installed on your system.

Run using docker:

docker run -it tcpcloud/aptly-publisher --help

Or create /usr/local/bin/aptly-publisher with following:

#!/bin/bash -e

docker run -v $(pwd):/var/run/aptly-publisher:ro -it tcpcloud/aptly-publisher $@

and set exec permissions with chmod +x /usr/local/bin/aptly-publisher. Then you are able to use config file in your current directory.

docker-aptly's People

Contributors

fpytloun avatar jakubjosef avatar chnyda avatar

Watchers

James Cloos 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.