- Oracle JDK 8
- Scala 2.11.12
- Apache PredictionIO 0.13.0
- Apache Spark 2.1.1
- PostgreSQL JDBC 42.2.0
- Universal Recommender v0.7.3
PIO_DB_HOST
: PostgreSQL server addressPIO_DB
: PostgreSQL database namePIO_DB_USER
: PostgreSQL database userPIO_DB_PASSWORD
: PostgreSQL database password
ES_HOST
: Elasticsearch hostES_PORT
: Elasticsearch port
$ docker-compose up
# open a new terminal and run below command to ssh into pio container
$ docker-compose exec app sh
$ pio status # check pio status
$ pio eventserver &
$ pio app new **your-app-name-here** # specify the appName used in the template's engine.json file (you can see it in the current directory)
Feed data through sdk and use pio train
& pio deploy
subsequently. Also, note that default UR integration tests are removed while building the container from scala source, and thus, can't be run.