Hi Guys,
Starting out with docker and composer for first time ever and trying to install iPeer from https://github.com/ubc/iPeer/releases.
So I installed Ubuntu 16.04.4 LTS on an Amazon EC2 instance and followed the Read Me at the end of this post.
Docker and Composer seem to have installed ok put I havent a clue how to run the iPeer app on my browser. Lets say my IP address is 12.13.14.15
I tried this command: ‘docker-compose up -d’ but browser just hangs.
My
docker ps -a
output is this:
root@ip-172-31-2-232:/home/ubuntu# docker ps -a CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES 6d77430ade4b ubcctlt/ipeer-web "/docker-entrypoin..." 36 seconds ago Created unruffled_austin cd60ecbb2d43 ubcctlt/ipeer-web "/docker-entrypoin..." 2 minutes ago Created tender_snyder d186ac3c3588 ubcctlt/ipeer-web "/docker-entrypoin..." 12 minutes ago Up 12 minutes 80/tcp, 443/tcp frosty_ardinghelli c2551cc5d853 ubuntu "/bin/bash" 18 minutes ago Up 18 minutes vigilant_brahmagupta fb64064c2f10 hello-world "/hello" 20 minutes ago Exited (0) 20 minutes ago naughty_haibt 3e556d7284c8 ubcctlt/ipeer-web "/docker-entrypoin..." 30 minutes ago Up 30 minutes 443/tcp, 0.0.0.0:8080->80/tcp ipeer_web b2db3986b5df ubcctlt/ipeer-app "php-fpm" 30 minutes ago Up 30 minutes 0.0.0.0:9000->9000/tcp ipeer_app 537243919c5b mariadb:10.1 "docker-entrypoint..." 31 minutes ago Up 31 minutes 3306/tcp ipeer_db 539ed55fde87 hello-world "/hello" 58 minutes ago Exited (0) 58 minutes ago laughing_northcutt b75f978c57eb hello-world "/hello" About an hour ago Exited (0) About an hour ago romantic_euler
…Can anyone see the command I should be running and do I need to set my IP address somewhere as I’m not using localhost.
I uploaded all my iPeer files from the download/github to var/www/html folder…
Any help appreciated.
Thanks everyone.
iPeer README BELOW:
Running with Docker
Prerequisites
- Internet connection
- (docker…com/engine/installation/) and (docker…com/compose/install/) installed
Running
Pulling images
Note: if you are planning to do development, you can skip this step.
docker pull ubcctlt/ipeer-app
docker pull ubcctlt/ipeer-web
Running iPeer
Note: if you are planning to develop iPeer and did not run docker pull with above commands, you will need to run composer install
to install the dependencies and generate database configuration file.
docker-compose up -d