Sign inSign up

ireceptor/service-php-mongodb

By ireceptor

Updated 8 months ago

PHP service using a MongoDB database

Image
0

7.4K

ireceptor/service-php-mongodb repository overview

iReceptor Service (PHP/MongoDB)

:warning: This is only the iReceptor web service. It requires an existing MongoDB database. For a complete solution including a MongoDB database and tools to import data, use the iReceptor Turnkey.

Installation (5 min)

Requires Linux Ubuntu (tested with Ubuntu Xenial 16.04).

Create a configuration file

Create a file env with your MongoDB database connection info. Example:

DB_HOST=localhost
DB_PORT=
DB_DATABASE=ireceptor
DB_USERNAME=
DB_PASSWORD=
Install Docker
curl -s https://get.docker.com | sudo sh
Download the Docker image and start a Docker container
sudo docker run -d --rm -p 80:80 --env-file env ireceptor/service-php-mongodb
Check it's working
curl localhost
curl localhost/airr/v1/info

Tag summary

Content type

Image

Digest

Size

187.4 MB

Last updated

about 5 years ago

docker pull ireceptor/service-php-mongodb