Dockup is a command line interface tool which allows to easily publish applications at a given path through docker containers and nginx.
A Dockup package is a compressed file containing:
-
the content you want to publish: python script, HTML file, ...
-
the
dockup.ymlconfiguration file which contains the following info-
nameof the package, must be the same name as the archive containing it -
pathat which the package will be accessible. For example/app1forwebsite.com/app1 -
typeof the package. For example,website,fletapplication
-
-
optional:
Dockerfileandnginx.confin case customization is needed
When you publish a Dockup package, the tool will do the following things automatically for you:
- Docker compose stop
- Extract the package archive in the Dockup app folder
- If necessary, build the nginx configuration
- If necessary, build the docker file
- Rebuild the docker compose file
- Dockup compose build and up
The nginx reverse proxy used by Dockup is also installed as Dockup package. This makes it convenient to configure and update the reverse proxy, for example to configure HTTPS on your server.
Installation
First of all install the docker engine: https://docs.docker.com/engine/install/
Then install Dockup as a pip package
pip3 install dockup
Usage
As a command line tool
Install the proxy Package
- given that your reverse proxy package is located in your current working directory
- you can prepare the reverse proxy package according to you needs:
- reverse_proxy_http is an example of simple HTTP proxy (not configured for HTTPS)
- you can also specify the package as an archive if it is present in your working directory.
python3 -m dockup installproxy reverse_proxy_http
Publish a package
- you can also specify the package as an archive if it is present in your working directory.
pyhton3 -m dockup install flet_app1
To remove a package
python3 -m dockup uninstall flet_app1
As a python package
import dockup
dockup.down()
dockup.reset()
dockup.set_proxy('./reverse_proxy_http.tar.gz')
dockup.add('flet_app1.tar.gz')
build_nodes()
dockup.up()
Metadata
Release files for dockup 0.0.13
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| dockup-0.0.13.tar.gz | 16.2 kB | Without provenance | Details for dockup-0.0.13.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| dockup-0.0.13-py3-none-any.whl | Python 3 | none | any | Details for dockup-0.0.13-py3-none-any.whl |
Total release size: 34.2 kB
Release files / dockup-0.0.13.tar.gz
| Download URL | dockup-0.0.13.tar.gz |
|---|---|
| Size | 16.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b2f4f9c2b2cf7b68b83894d93909e63e0c0fb7ae16d5f64ee88315d2a35a9a17
|
|
BLAKE2b-256 checksum How to use checksums |
f15ce55747dea98af8c87d6ec182dbb2d3d5565307520baa706e045c5975ffa5
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / dockup-0.0.13-py3-none-any.whl
| Download URL | dockup-0.0.13-py3-none-any.whl |
|---|---|
| Size | 18.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
87f68435ddbf93601b8c156435a491e7ea793ff9108e5041721a17437a39f739
|
|
BLAKE2b-256 checksum How to use checksums |
6def573a1219d995636938c31bcf4fd8f48283c1e745311f3370e1b5a8348af8
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Security for dockup 0.0.13
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.