I remove the quantumobject/docker-ushahidi container that refer to version 2.7.4 that include client and platform together (old version) , Please used the new version 3 , for it you need to deploy the ushhidi-platform (quantumobject/docker-ushahidi-platform container ) and ushhidi-platform-client (quantumobject/docker-ushahidi-platform-client container) .
Docker container for Ushahidi 2.7.4
"Make smart decisions with a data management system that rapidly collects data from the crowd and visualizes what happened, when and where."
note: quantumobject/docker-ushahidi container refer to version 2.7.4 that include client and platform together (old version) , for version 3 you need to deploy the ushhidi-platform (quantumobject/docker-ushahidi-platform container ) and ushhidi-platform-client (quantumobject/docker-ushahidi-platform-client container) .
To install docker in Ubuntu 14.04 use the commands:
$ sudo apt-get update
$ wget -qO- https://get.docker.com/ | sh
To install docker in other operating systems check docker online documentation
If you need a MySQL database you can link container :
$ docker run --name some-mysql -e MYSQL_ROOT_PASSWORD=mysecretpassword -e MYSQL_DATABASE=ushahidi \
-e MYSQL_USER=ushahidiuser -e MYSQL_PASSWORD=ushahidipasswd -d mysql
In case you want to used pre-existing mysql container , you can add the new database by connecting to it with docker exec -it some-mysql bash and manual adding ushahidi database or you can link and used quantumobject/docker-mywebsql to create database ushahidi and user ushahidiuser plus need to grant all permision of this user to the ushahidi database.
Them link to Ushahidi container:
$ docker run -d -p xxxx:80 --link some-mysql:db quantumobject/docker-ushahidi
Where xxxxx is the port assigned by you for the container if not docker will assigned one for it.
Accessing the Ushahidi applications:
After that check with your browser at addresses plus the port assigined by docker or you:
Mysql info for web install:
- 'database' => 'ushahidi',
- 'user' => 'ushahidiuser',
- 'pass' => 'ushahidipasswd',
- 'host' => 'db',
Them after done with the final install at the web interface need to run this command for security :
$ docker exec -it container_id after_install
To access the container from the server that the container is running :
$ docker exec -it container_id /bin/bash
About Ushahidi: www.ushahidi.com
To help improve this container quantumobject/docker-ushahidi
For additional info about us and our projects check our site www.quantumobject.com
Please try to give a substantial answer. If you wanted to comment on the question or answer, justuse the commenting tool. Please remember that you can alwaysrevise your answers - no need to answer the same question twice. Also, pleasedon't forget to vote - it really helps to select the best questions and answers!
About This Community
|Asked: 11/4/15, 5:21 PM|
|Seen: 1188 times|
|Last updated: 7/2/17, 5:14 AM|