mirror of
https://github.com/YunoHost-Apps/paperless-ngx_docker_ynh
synced 2026-02-04 07:41:49 +01:00
No description
| conf | ||
| dev-scripts | ||
| doc | ||
| scripts | ||
| config_panel.toml | ||
| LICENSE | ||
| local-test-make.sh | ||
| Makefile | ||
| manifest.toml | ||
| README.md | ||
| README_fr.md | ||
| requirements.in | ||
| requirements.txt | ||
| tests.toml | ||
Docker Django Example for YunoHost
This package allows you to install Docker Django Example quickly and simply on a YunoHost server. If you don't have YunoHost, please consult the guide to learn how to install it.
Overview
A example YunoHost App that package a Python/Django via Docker.
Notes:
- Use docker-compose from Debian repository (installed by manifest v2
[resources.apt]section) - Add tree containers:
- The Web App container with the Django project
- Postgres
- Redis
- Use SystemD service file to start the Docker container
- Use YunoHost system nginx as proxy
- Postgres database:
- Store database files under
__DATA_DIR__in:/home/yunohost.app/$app/volumes/postgresql-data/ - Run Postgres as "App user/group" (So database files are owned by app user)
- Store database files under
- Serve static files from system nginx (From:
__INSTALL_DIR__->/var/www/$app/)
Pull requests welcome ;)
This package for YunoHost used django-yunohost-integration
Shipped version: 0.2.0~ynh1
Documentation and resources
- Official user documentation: https://github.com/jedie/django-example
- Official admin documentation: https://github.com/YunoHost-Apps/docker_django_example_ynh
- Upstream app code repository: https://github.com/YunoHost-Apps/docker_django_example_ynh
- YunoHost Store: https://apps.yunohost.org/app/docker_django_example
- Report a bug: https://github.com/YunoHost-Apps/docker_django_example_ynh/issues
Developer info
Please send your pull request to the testing branch.
To try the testing branch, please proceed like that.
sudo yunohost app install https://github.com/YunoHost-Apps/docker_django_example_ynh/tree/testing --debug
or
sudo yunohost app upgrade docker_django_example -u https://github.com/YunoHost-Apps/docker_django_example_ynh/tree/testing --debug
More info regarding app packaging: https://yunohost.org/packaging_apps