GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - BaharaJr/dhis2: DHIS2 docker images for legacy DHIS2 instances that aren't available in the official DHIS2 docker images

BranchesTags
Open more actions menu

Latest commit

 

History

3 Commits
3 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
2.25
2.25
 
 
2.27
2.27
 
 
2.28
2.28
 
 
2.29
2.29
 
 
2.30
2.30
 
 
README.md
README.md
 
 

Repository files navigation

Legacy DHIS2 Core images

The images are built from official war files by DHIS2 for legacy versions that aren't available in the official DHIS2 core docker images

Available versions

* 2.25
* 2.27
* 2.28
* 2.29
* 2.30

How to setup

The images require environmental variables

 *  DHIS_HOME  
         - DHIS2 core home directory for all DHIS2 related volume artefacts storage
 *  POSTGRES_HOST 
        - The PostgreSQL database for DHIS2 instance
 *  DB_NAME
        - Database name
 *  POSTGRES_USER
        - Postgres user with access to the database DHIS2 is connecting to
 *  POSTGRES_PASSWORD
      - Password for the postgres user connecting to the database

Sample docker-compose setup

     version: '3.2'
     
     services:
       dhis-25-db:
         container_name: dhis-25-db
         image: mdillon/postgis:10-alpine
         command: postgres -c max_locks_per_transaction=1000 -c max_connections=3000
         environment:
           - POSTGRES_USER=dhis
           - POSTGRES_DB=dhis
           - POSTGRES_PASSWORD=dhis
         restart: always
         volumes:
           - db-volume:/var/lib/postgresql/data
       dhis-25-dhis:
         container_name: dhis-25-dhis
         image: baharajr/dhis2:2.25
         restart: always
         environment:
           - DHIS_HOME=/opt/dhis2
           - POSTGRES_HOST=dhis-25-db
           - DB_NAME=dhis
           - POSTGRES_USER=dhis
           - POSTGRES_PASSWORD=dhis
         volumes: 
           - ./conf:/DHIS2_home
         depends_on: 
           - dhis-25-db
         healthcheck:
           test: ["CMD", "curl", "-f", "http://localhost:8080/"] 
           interval: 30s
           timeout: 30s
         ports:
           - 8080:8080
     volumes:
       db-volume:
         driver: local

About

DHIS2 docker images for legacy DHIS2 instances that aren't available in the official DHIS2 docker images

hub.docker.com/r/baharajr/dhis2

Topics

dhisdhis2dhis2-apilegacy

Resources

Readme
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.