← Back to team overview

dhis2-devs team mailing list archive

Re: [Dhis2-users] Installation of dhis2 on docker

 

Hi Geral, with the current docker setup you can generate your own docker
image and use that one instead of sierra-leone.

All you need to do is:

1. comment this line
https://github.com/pgracio/dhis2-docker/blob/master/database/docker-build.sh#L60
2. have a file named *dhis2-db.sql.gz* that contains your database dump.
3. run ./docker-build.sh -v 2.30 -d my-database
4. update docker-compose do use the nee image.

give it a try.


On Tue, Aug 28, 2018 at 12:16 PM gerald thomas <gerald17006@xxxxxxxxx>
wrote:

> Hi all,
> I got it docker using postgresql is fixed now but i need to drop the
> current database and import another database. Please can anyone help?
>
> On Mon, Aug 27, 2018 at 2:55 PM gerald thomas <gerald17006@xxxxxxxxx>
> wrote:
>
>> Dan,
>> I am using my laptop which is mac pro where i had already installed
>> docker and now i want to install an Ubuntu DHIS2 instance on it.
>>
>> On Mon, Aug 27, 2018 at 2:32 PM Dan Cocos <dcocos@xxxxxxxxx> wrote:
>>
>>> Hi Gerald,
>>>
>>> You can also try this for local dev.
>>> https://github.com/baosystems/dhis2-centos
>>>
>>> Cheers,
>>> Dan
>>>
>>>
>>> Dan Cocos
>>> Principal, BAO Systems
>>> dcocos@xxxxxxxxxxxxxx | http://www.baosystems.com |  2900 K Street,
>>> Suite 507, Washington D.C. 20007
>>> <https://maps.google.com/?q=2900+K+Street,+Suite+507,+Washington+D.C.+20007&entry=gmail&source=g>
>>>
>>>
>>> On Aug 27, 2018, at 3:52 AM, Gerald Thomas <gerald17006@xxxxxxxxx>
>>> wrote:
>>>
>>> Dear Paulo,
>>> Can i only have mysql database for this instance?
>>>
>>> On Aug 27, 2018, at 5:58 AM, Paulo Grácio <paulogracio@xxxxxxxxx> wrote:
>>>
>>> https://github.com/pgracio/dhis2-docker
>>>
>>> Hasn’t been updated for a while so not sure if there is a better way.
>>>
>>> On 27 Aug 2018, at 00:35, gerald thomas <gerald17006@xxxxxxxxx> wrote:
>>>
>>> Dear all,
>>> I am trying to do a dhis2 instance using docker on my laptop. Please can
>>> anyone help with the procedures; this is my first time to do it on docker
>>>
>>> --
>>> Regards,
>>>
>>> Gerald
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dhis2-users
>>> Post to     : dhis2-users@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~dhis2-users
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>> _______________________________________________
>>> Mailing list: https://launchpad.net/~dhis2-devs
>>> Post to     : dhis2-devs@xxxxxxxxxxxxxxxxxxx
>>> Unsubscribe : https://launchpad.net/~dhis2-devs
>>> More help   : https://help.launchpad.net/ListHelp
>>>
>>>
>>>
>>
>> --
>> Regards,
>>
>> Gerald
>>
>
>
> --
> Regards,
>
> Gerald
>

Follow ups

References