Sign inSign up

ntutselab/keystonejs

By ntutselab

•Updated over 7 years ago

This is a docker image of the KeystoneJS Demo.

Image
3

2.2K

ntutselab/keystonejs repository overview

This is a docker image of the KeystoneJS Demo⁠.

⁠About KeystoneJS

KeystoneJS⁠ is a powerful Node.js content management system and web app framework built on the Express web framework and Mongoose ODM⁠.

⁠Prerequisites

We recommand you run the image by docker compose⁠. If docker compose⁠ hasn't been installed on your computer, please follow the instructions here⁠ to install.

⁠How to run the application?

  1. Create a directory for the project:

    $ mkdir KeystoneJS
    $ cd KeystoneJS
    
  2. Create a file called docker-compose.yml in your project directory and paste the following:

    keystonejs:
      image: ntutselab/keystonejs
      ports:
       - "3000:3000"
      links:
       - mongodb
    mongodb:
      image: mongo:5.0
      ports:
       - "27017:27017"
    
  3. Start up your application by running docker-compose up

    $ docker-compose up
    

    Compose will pull the keystonejs and mongo images, and starts the services.

  4. Enter http://127.0.0.1:3000/ in a browser to see the application running.

⁠How to stop the application?

Stop the application, either by running docker-compose down from within your project directory in the second terminal, or by hitting CTRL+C in the original terminal where you started the app.

Tag summary

Content type

Image

Digest

Size

74.3 MB

Last updated

over 7 years ago

docker pull ntutselab/keystonejs