This is a docker image of the KeystoneJS Demo.
2.2K
This is a docker image of the KeystoneJS Demo.
KeystoneJS is a powerful Node.js content management system and web app framework built on the Express web framework and Mongoose ODM.
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.
Create a directory for the project:
$ mkdir KeystoneJS
$ cd KeystoneJS
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"
Start up your application by running docker-compose up
$ docker-compose up
Compose will pull the keystonejs and mongo images, and starts the services.
Enter http://127.0.0.1:3000/ in a browser to see the application running.
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.
Content type
Image
Digest
Size
74.3 MB
Last updated
over 7 years ago
docker pull ntutselab/keystonejs