https://github.com/cavcrosby/aptly-api
A container image for Aptly's HTTP REST API (https://www.aptly.info/).
https://github.com/cavcrosby/aptly-api
apt aptly deb debian packaging ubuntu
Last synced: 3 days ago
JSON representation
A container image for Aptly's HTTP REST API (https://www.aptly.info/).
- Host: GitHub
- URL: https://github.com/cavcrosby/aptly-api
- Owner: cavcrosby
- License: mit
- Created: 2026-02-21T20:27:18.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2026-05-01T05:34:47.000Z (about 1 month ago)
- Last Synced: 2026-05-01T07:23:33.167Z (about 1 month ago)
- Topics: apt, aptly, deb, debian, packaging, ubuntu
- Language: Makefile
- Homepage:
- Size: 25.4 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# aptly-api
This is a container image for Aptly's HTTP REST API.
[Aptly](https://www.aptly.info/) is a swiss army knife for Debian repository
management. Aptly can be used as either via CLI or an
[API](https://www.aptly.info/doc/api/swagger).
## Supported tags and respective `Dockerfile` links
- [`1.6`, `latest`](https://github.com/cavcrosby/aptly-api/blob/main/src/Dockerfile)
## 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.
```shell
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
```shell
docker run --detach --volume "aptly-api:/var/lib/aptly-api" --publish "8080:8081" --env "PORT=8081" "cavcrosby/aptly-api"
```
### Using a different configuration file
```shell
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.