• Skip to main content
  • Skip to primary sidebar

Code Inherit

Simple Programming Code Examples

How to Install dhis2 in Docker

27th January 2021 by Site Admin Leave a Comment

https://developers.dhis2.org/guides/quickstart-app-development

Install Docker
https://docs.docker.com/get-docker/


Install yarn

npm install --global yarn

From the command line or terminal, install the DHIS CLI globally
yarn global add @dhis/cli
OR
npm install –global @dhis2/cli
From the terminal, start up DHIS2 and seed the database
d2 cluster up 2.35.0 –db-version 2.35 –port 8085

The Compose file ‘C:\Users\Anwar.cache\d2\cache\clusters\2.35.0\docker-compose\cluster\docker-compose.yml’ is invalid because:
services.gateway.ports contains an invalid type, it should be a number, or an object

C:\Users\Anwar.cache\d2\cache\clusters\2.35.0\docker-compose\cluster\docker-compose.yml

gateway:
image: “jwilder/nginx-proxy:alpine”
restart: always
ports:

  • “8085:80”

Filed Under: Uncategorised

Reader Interactions

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Primary Sidebar

Recent Posts

  • Bijoy Converter
  • How to amend previous commit with current changes in git and github?
  • How to install PHP 8.1 alongside PHP 7.4 using HomeBrew in MacOs?
  • Create a shell script to switch 7.4 to 8.1 and vice versa
  • How to reflect PHP8.1 to Apache in MacOS?

Recent Comments

    Archives

    • October 2025
    • September 2024
    • January 2024
    • July 2023
    • October 2021
    • September 2021
    • February 2021
    • January 2021
    • October 2020
    • September 2020
    • August 2020
    • May 2020
    • March 2020
    • February 2020
    • January 2020
    • November 2019
    • May 2019

    Categories

    • Couchbase
    • Cron Job
    • dhis2
    • Linux, MySQL
    • MySQL
    • Oracle
    • Oracle Client
    • PHP
    • SSL
    • Subdomain
    • Uncategorised
    • Wordpress
    • WP
    • Zip

    Meta

    • Log in
    • Entries feed
    • Comments feed
    • WordPress.org

    Copyright © 2025 · Genesis Sample on Genesis Framework · WordPress · Log in