No description
Find a file
2023-12-31 16:56:17 +00:00
conf first commit 2023-12-31 17:56:05 +01:00
dev-scripts first commit 2023-12-31 17:56:05 +01:00
doc first commit 2023-12-31 17:56:05 +01:00
scripts first commit 2023-12-31 17:56:05 +01:00
config_panel.toml first commit 2023-12-31 17:56:05 +01:00
LICENSE first commit 2023-12-31 17:56:05 +01:00
local-test-make.sh first commit 2023-12-31 17:56:05 +01:00
Makefile first commit 2023-12-31 17:56:05 +01:00
manifest.toml first commit 2023-12-31 17:56:05 +01:00
README.md Auto-update README 2023-12-31 16:56:17 +00:00
README_fr.md Auto-update README 2023-12-31 16:56:17 +00:00
requirements.in first commit 2023-12-31 17:56:05 +01:00
requirements.txt first commit 2023-12-31 17:56:05 +01:00
tests.toml first commit 2023-12-31 17:56:05 +01:00

Docker Django Example for YunoHost

Integration level Working status Maintenance status

Install Docker Django Example with YunoHost

Lire ce readme en français.

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

tests codecov docker_django_example_ynh @ PyPi Python Versions License GPL-3.0-or-later

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)
  • 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

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