Giter Club home page Giter Club logo

docker-json-server's Introduction

Dockerized JSON Server

Circle CI Build Status

Summary

Repository name in Docker Hub: williamyeh/json-server

This repository contains Dockerized JSON Server, published to the public Docker Hub via automated build mechanism.

Configuration

This docker image contains the following software stack:

  • Alpine 3

  • Node.js 10

  • JSON Server

Total image size is less than 30 MB.

Dependencies

History

  • 1.0 - Initial release.
  • 1.1 - Updated base image and json-server version.
  • 1.1.1 - Add '--host' cli arguments for convenience.

Installation

$ docker pull williamyeh/json-server

Usage

Show usage

$ docker run --rm williamyeh/json-server

Server example

$ docker run  \
      -p 3000:3000  -v `pwd`:/data  \
      williamyeh/json-server        \
      --watch db.json

More examples

Most examples documented in JSON Server project site will work.

docker-json-server's People

Contributors

william-yeh avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

docker-json-server's Issues

IQ scan has severity 9 issues in the docker image

2022-01-13 11:42:30.602 Nexus IQ reports policy failing due to
2022-01-13 11:42:30.602 Policy(Security-9) [
2022-01-13 11:42:30.602 Component(displayName=lodash 4.17.11, hash=fff079a9ac3e51e18774) [
2022-01-13 11:42:30.602 Constraint(CVSS 9) [Security Vulnerability Severity >= 9 because: Found security vulnerability sonatype-2020-0739 with severity >= 9 (severity = 9.8), Security Vulnerability Severity < 10 because: Found security vulnerability sonatype-2020-0739 with severity < 10 (severity = 9.8), Security Vulnerability Status is not NOT_APPLICABLE because: Found security vulnerability sonatype-2020-0739 with status 'Open', not 'Not Applicable'] ]]
2022-01-13 11:42:30.602
2022-01-13 11:42:30.602 Nexus IQ reports policy failing due to
2022-01-13 11:42:30.602 Policy(Security-9) [
2022-01-13 11:42:30.602 Component(displayName=opener 1.5.0, hash=541c01f6e3fc4f773cd6) [
2022-01-13 11:42:30.602 Constraint(CVSS 9) [Security Vulnerability Severity >= 9 because: Found security vulnerability sonatype-2020-0887 with severity >= 9 (severity = 9.8), Security Vulnerability Severity < 10 because: Found security vulnerability sonatype-2020-0887 with severity < 10 (severity = 9.8), Security Vulnerability Status is not NOT_APPLICABLE because: Found security vulnerability sonatype-2020-0887 with status 'Open', not 'Not Applicable'] ]]
2022-01-13 11:42:30.602
2022-01-13 11:42:30.602 Nexus IQ reports policy failing due to
2022-01-13 11:42:30.602 Policy(Security-9) [
2022-01-13 11:42:30.602 Component(displayName=dot-prop 4.2.0, hash=9a763d4cd4038273f6cd) [
2022-01-13 11:42:30.602 Constraint(CVSS 9) [Security Vulnerability Severity >= 9 because: Found security vulnerability sonatype-2020-0018 with severity >= 9 (severity = 9.8), Security Vulnerability Severity < 10 because: Found security vulnerability sonatype-2020-0018 with severity < 10 (severity = 9.8), Security Vulnerability Status is not NOT_APPLICABLE because: Found security vulnerability sonatype-2020-0018 with status 'Open', not 'Not Applicable'] ]]
2022-01-13 11:42:30.602
2022-01-13 11:42:30.602 Nexus IQ reports policy failing due to
2022-01-13 11:42:30.602 Policy(Security-9) [
2022-01-13 11:42:30.602 Component(displayName=execa 0.7.0, hash=e0c9b279b4ae588ef0d7) [
2022-01-13 11:42:30.602 Constraint(CVSS 9) [Security Vulnerability Severity >= 9 because: Found security vulnerability sonatype-2019-0206 with severity >= 9 (severity = 9.8), Security Vulnerability Severity < 10 because: Found security vulnerability sonatype-2019-0206 with severity < 10 (severity = 9.8), Security Vulnerability Status is not NOT_APPLICABLE because: Found security vulnerability sonatype-2019-0206 with status 'Open', not 'Not Applicable'] ]]
2022-01-13 11:42:30.602
2022-01-13 11:42:30.602 Nexus IQ reports policy failing due to
2022-01-13 11:42:30.602 Policy(Security-9) [
2022-01-13 11:42:30.602 Component(displayName=json-schema 0.2.3, hash=fbb38b48fa7f250a24ad) [
2022-01-13 11:42:30.602 Constraint(CVSS 9) [Security Vulnerability Severity >= 9 because: Found security vulnerability CVE-2021-3918 with severity >= 9 (severity = 9.8), Security Vulnerability Severity < 10 because: Found security vulnerability CVE-2021-3918 with severity < 10 (severity = 9.8), Security Vulnerability Status is not NOT_APPLICABLE because: Found security vulnerability CVE-2021-3918 with status 'Open', not 'Not Applicable'] ]]
2022-01-13 11:42:30.602
2022-01-13 11:42:30.602 Nexus IQ reports policy failing due to
2022-01-13 11:42:30.602 Policy(Security-9) [
2022-01-13 11:42:30.602 Component(displayName=lodash 4.17.11, hash=fff079a9ac3e51e18774) [
2022-01-13 11:42:30.602 Constraint(CVSS 9) [Security Vulnerability Severity >= 9 because: Found security vulnerability CVE-2019-10744 with severity >= 9 (severity = 9.1), Security Vulnerability Severity < 10 because: Found security vulnerability CVE-2019-10744 with severity < 10 (severity = 9.1), Security Vulnerability Status is not NOT_APPLICABLE because: Found security vulnerability CVE-2019-10744 with status 'Open', not 'Not Applicable'] ]]
2022-01-13 11:42:30.602
2022-01-13 11:42:30.602 Nexus IQ reports policy failing due to
2022-01-13 11:42:30.602 Policy(Security-9) [
2022-01-13 11:42:30.602 Component(displayName=lodash 4.17.11, hash=fff079a9ac3e51e18774) [
2022-01-13 11:42:30.602 Constraint(CVSS 9) [Security Vulnerability Severity >= 9 because: Found security vulnerability sonatype-2019-0500 with severity >= 9 (severity = 9.8), Security Vulnerability Severity < 10 because: Found security vulnerability sonatype-2019-0500 with severity < 10 (severity = 9.8), Security Vulnerability Status is not NOT_APPLICABLE because: Found security vulnerability sonatype-2019-0500 with status 'Open', not 'Not Applicable'] ]]

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.