Skip to content

Latest commit

 

History

1 Commit

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

pve-dhis2-install

Proxmox VE (PVE) installer that provisions a DHIS2 instance inside an LXC container and (optionally) configures NGINX in a separate LXC container by writing a location snippet under /etc/nginx/locations/ and injecting an include into a chosen vhost.

What it creates

  • DHIS2 LXC (Ubuntu 22.04 template by default)

    • Java 17
    • PostgreSQL + PostGIS
    • Tomcat 10 (tarball)
    • Deploys DHIS2 ROOT.war
    • Writes dhis.conf under /etc/dhis2/dhis.conf and symlinks into DHIS2_HOME
  • NGINX LXC (optional, separate container)

    • Installs NGINX
    • Writes: /etc/nginx/locations/<path>.conf
    • Ensures your vhost /etc/nginx/sites-available/<vhost>.conf includes include /etc/nginx/locations/*.conf;

Usage

Copy the folder to your Proxmox node and run:

cd pve-dhis2-install
chmod +x install.sh
sudo ./install.sh

Notes

  • This installer expects to run on a Proxmox host (it will refuse to run inside a container).
  • Defaults (DB name/user, NGINX path) are derived from the DHIS2 LXC hostname.

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Used by

Contributors

Languages