{"id":15198717,"url":"https://github.com/flokapi/dockup","last_synced_at":"2025-04-10T10:12:22.758Z","repository":{"id":196042054,"uuid":"693881387","full_name":"flokapi/dockup","owner":"flokapi","description":"Publish multiple docker containers as a Python package and CLI tool","archived":false,"fork":false,"pushed_at":"2023-09-27T18:51:49.000Z","size":27,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-24T09:04:09.685Z","etag":null,"topics":["docker","nginx"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flokapi.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-09-19T22:47:13.000Z","updated_at":"2025-03-10T23:44:37.000Z","dependencies_parsed_at":"2024-09-28T01:40:31.431Z","dependency_job_id":"300a1cc1-0070-4852-8015-7944106bac26","html_url":"https://github.com/flokapi/dockup","commit_stats":null,"previous_names":["flokapi/dockup"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flokapi%2Fdockup","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flokapi%2Fdockup/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flokapi%2Fdockup/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flokapi%2Fdockup/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flokapi","download_url":"https://codeload.github.com/flokapi/dockup/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248198888,"owners_count":21063628,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","nginx"],"created_at":"2024-09-28T01:40:24.441Z","updated_at":"2025-04-10T10:12:22.735Z","avatar_url":"https://github.com/flokapi.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# About\n\nDockup is a command line interface tool and a Python package which allows to easily publish applications at a given path through docker containers and nginx.\n\nA Dockup package is a compressed file containing:\n\n- the content you want to publish: Python script, HTML file, ...\n- the `dockup.yml` configuration file which contains the following info\n\n    - `name` of the package, must be the same name as the directory containing it\n    - `path` at which the package will be accessible. For example `/app1` for `website.com/app1` \n    - `type` of the package. For example, `website`, `flet` application\n- optional: `Dockerfile` and `nginx.conf` in case customization is needed\n- for Python applications only, the `requirements.txt` file\n\n\n\nWhen you publish a Dockup package, the tool will do the following things automatically for you:\n\n- Docker compose down\n- Extract the package archive in the Dockup app folder\n- If necessary, build the nginx configuration\n- If necessary, build the docker file\n- Rebuild the docker compose file\n- Docker compose build and up\n\n\n\nThe 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.\n\n\n\n# Installation\n\nFirst of all install the docker engine: https://docs.docker.com/engine/install/\n\nThen install Dockup as a pip package\n\n```\npip3 install dockup\n```\n\nYou must install a reverse proxy package (see below) before you can publish your applications.\n\n\n\n# Usage\n\n### As a command line tool\n\nInstall the reverse proxy Package\n\n- given that your reverse proxy package is located in your current working directory\n- you can prepare the reverse proxy package according to you needs:\n    - [reverse_proxy_http](https://github.com/flokapi/dockup/tree/main/example_packages/reverse_proxy_http) is an example of simple HTTP proxy\n    - [reverse_proxy_https](https://github.com/flokapi/dockup/tree/main/example_packages/reverse_proxy_https) is an example of simple HTTP**S** proxy\n- you can also specify the package as an archive if it is present in your working directory.\n\n```\npython3 -m dockup installproxy reverse_proxy_http\n```\n\n\n\nPublish a package\n\n- you can also specify the package as an archive if it is present in your working directory.\n\n```\npyhton3 -m dockup install flet_app1\n```\n\n\n\nTo remove a package\n\n```\npython3 -m dockup uninstall flet_app1\n```\n\n\n\n### As a Python package\n\n```python\nimport dockup\n\ndockup.down()\ndockup.reset()\ndockup.set_proxy('./reverse_proxy_http.tar.gz')\ndockup.add('./flet_app1.tar.gz')\ndockup.add('./flet_app2.tar.gz')\ndockup.up()\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflokapi%2Fdockup","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflokapi%2Fdockup","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflokapi%2Fdockup/lists"}