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 contain
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 dumpfil
| 2018-09-06 09:43:25 | (admin) Creating 147 object(s) of type Option |
| 2018-09-06 09:43:25 | (admin) Creating 1 object(s) of type Constant |
| 2018-09-06 09:43:25 | (admin) Creating 2 object(s) of type UserGroup |
| 2018-09-06 09:43:25 | (admin) Updating 1 object(s) of type User |
| 2018
3 matches
Mail list logo