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
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
https://github.com/pgracio/dhis2-docker
Hasn’t been updated for a while so not sure if there is a better way.
Regards,
Gerald
Dear Paulo,
Can i only have mysql database for this instance?
Regards,
Gerald
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.
Regards,
Gerald
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?
Regards,
Gerald
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:
comment this line https://github.com/pgracio/dhis2-docker/blob/master/database/docker-build.sh#L60
have a file named dhis2-db.sql.gz that contains your database dump.
run ./docker-build.sh -v 2.30 -d my-database
update docker-compose do use the nee image.
give it a try.
On Tue, Aug 28, 2018 at 12:16 PM gerald thomas gerald17006@gmail.com 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@gmail.com 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@gmail.com wrote:
Hi Gerald,
You can also try this for local dev.
Cheers,
Dan
Dan Cocos
Principal, BAO Systems
dcocos@baosystems.com | http://www.baosystems.com | 2900 K Street, Suite 507, Washington D.C. 20007
On Aug 27, 2018, at 3:52 AM, Gerald Thomas gerald17006@gmail.com wrote:
Dear Paulo,
Can i only have mysql database for this instance?On Aug 27, 2018, at 5:58 AM, Paulo Grácio paulogracio@gmail.com wrote:
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@gmail.com 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@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2-devs@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
–
Regards,
Gerald
–
Regards,
Gerald
Hello Gerald,
Look at the exec command https://docs.docker.com/engine/reference/commandline/exec/#examples
e.g
docker exec -it container_name "psql -U postgres -d template1 -c 'drop database dhis;create database dhis with owner dhis'" docker exec -it container_name "psql -U dhis -d dhis -f dumpfile"
Alex
Alex Tumwesigye
Kampala
Uganda
+256 774149 775, + 256 759 800161
Skype ID: talexie
IT Consultant (Servers, Networks and Security, Health Information Systems - DHIS2, Disease Outbreak & Surveillance Systems) & Solar Consultant
"I don’t want to be anything other than what I have been - one tree hill "