On Aug 27, 2018, at 5:58 AM, Paulo Grácio <paulo...@gmail.com> wrote:https://github.com/pgracio/dhis2-dockerHasn’t been updated for a while so not sure if there is a better way.
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-users
Post to : dhis2...@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-users
More help : https://help.launchpad.net/ListHelp
Hi Gerald,You can also try this for local dev.Cheers,Dan
Dan Cocos
Principal, BAO Systems
dco...@baosystems.com | http://www.baosystems.com | 2900 K Street, Suite 507, Washington D.C. 20007
_______________________________________________
Mailing list: https://launchpad.net/~dhis2-devs
Post to : dhis2...@lists.launchpad.net
Unsubscribe : https://launchpad.net/~dhis2-devs
More help : https://help.launchpad.net/ListHelp
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"
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#L602. have a file named dhis2-db.sql.gz that contains your database dump.3. run ./docker-build.sh -v 2.30 -d my-database4. update docker-compose do use the nee image.give it a try.