Skip to content

cavcrosby/aptly-api

Repository files navigation

aptly-api

This is a container image for Aptly's HTTP REST API. Aptly is a swiss army knife for Debian repository management. Aptly can be used as either via CLI or an API.

Supported tags and respective Dockerfile links

How to use this image

Something of importance to note is that by default, the API stores its database, downloaded packages, and published repositories all within the /var/lib/aptly-api directory. Hence, it's advisable that a volume be mounted to this directory. Said volume can be used by multiple instances of the API as it runs with the -no-lock option.

docker run --detach --volume "aptly-api:/var/lib/aptly-api" --publish "8080:8080" "cavcrosby/aptly-api"

In addition, a volume containing GPG keys (either ASCII armored or binary) can be mounted at the /etc/aptly-api/secrets/gpg path to have those added to the container's keyring to be used by the API.

Using a different listening port

docker run --detach --volume "aptly-api:/var/lib/aptly-api" --publish "8080:8081" --env "PORT=8081" "cavcrosby/aptly-api"

Using a different configuration file

docker run --detach --volume "aptly-api:/var/lib/aptly-api" --volume "${PWD}/aptly.conf:/tmp/aptly.conf" --publish "8080:8080" --env "CONFIG_PATH=/tmp/aptly.conf" "cavcrosby/aptly-api"

License

See LICENSE.

About

A container image for Aptly's HTTP REST API (https://www.aptly.info/).

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors