Sign inSign up

darteaga/pets

By darteaga

Updated about 6 years ago

A RESTful example for using in projects

Image
0

1.3K

darteaga/pets repository overview

PET API

A RESTful example for using in projects

RUN

First run a mongo container
docker run -d --name mongodb mongo
Finally run a pets container
docker run -d --name pets-container -e NODE_ENV=production -p 80:80 --link mongodb:mongodb darteaga/pets

You can also add initial data setting up an environment variable, adding to the above command this: -e PETS_INITIAL_DATA=true

For more details and documentation see: https://github.com/dani8art/pets

Tag summary

Content type

Image

Digest

Size

140.6 MB

Last updated

about 6 years ago

docker pull darteaga/pets