Skip to main content

A RESTful API for managing applications and resources on a Dokku platform.

Project description

Dokku API

This is a RESTful API for managing applications and resources on Dokku, built with FastAPI.

CI Pypi License Platforms Python Version

Installing Dokku API from PyPI:

$ pip install dokku-api
$ dokku-api help

Getting Started (quick run)

The entire project has been built to run entirely on Dokku or Docker.

For installing and running the API as a Dokku application:

$ dokku plugin:install https://github.com/JeanExtreme002/Dokku-API.git
$ dokku dokku-api:start

For installing and running the API on Docker:

Create a .env from .env.sample, configure the variables, and execute one of the commands below to run the application:

$ make docker-run

Now, open the API on your browser at http://dokku-api.yourdomain — if you did not change the default settings.

Access /docs for more information about the API.

Getting Started (development)

Install the dependencies for the project:

$ pip install poetry
$ make install

Now, you can run the server with:

$ make run

Run make help to learn about more commands.

Running Tests

The project has some tests to check if everything is working properly. To run the tests, execute the command below:

$ make test
$ make system-test

Coding Style

Run the commands below to properly format the project's code:

$ make lint
$ make lint-fix

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dokku_api-1.3.0.tar.gz (100.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dokku_api-1.3.0-py3-none-any.whl (135.8 kB view details)

Uploaded Python 3

File details

Details for the file dokku_api-1.3.0.tar.gz.

File metadata

  • Download URL: dokku_api-1.3.0.tar.gz
  • Upload date:
  • Size: 100.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for dokku_api-1.3.0.tar.gz
Algorithm Hash digest
SHA256 b33f4fdbd9d2bb2c44a480bb4017e9edf332a78b58093f1cd91892ee0c64faac
MD5 6aa1164681a6ce3283439c3a83c27e50
BLAKE2b-256 1f08e3d11bc868e9512791cf12cf3a24a6d3a8deb5e70f615b84bbc3e39ac5c0

See more details on using hashes here.

File details

Details for the file dokku_api-1.3.0-py3-none-any.whl.

File metadata

  • Download URL: dokku_api-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 135.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.11.0

File hashes

Hashes for dokku_api-1.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 761c7e4d42b4f15e1504ffd50b4a8ffd823559b6a665b5d68f91c7437559ba0f
MD5 b09837bedde43bfa51621de9fa3e38b4
BLAKE2b-256 09256702f8d894f23dda7cb3578d0f741a03a960f29c427f5ef9e03b50473588

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page