Giter Club home page Giter Club logo

ministryofjustice.defence-request-service-nginx's Introduction

Nginx docker container that acts as a frontend for other defence-request-service docker containers

Execution

Please Replace FIXME-defence-request-service with defence-request-service, defence-request-service-rota, defence-request-service-auth as required.

On staging:

docker run --link FIXME-defence-request-service:upstream -e ASSET_URL_PREFIX=https://s3-eu-west-1.amazonaws.com -e ASSET_BUCKET_NAME=drs-staging-service-assets defence-request-service-nginx:localbuild

In development on your machine:

docker run --link FIXME-defence-request-service:upstream -e ASSET_URL_PREFIX=http://upstream:3000 -e ASSET_BUCKET_NAME="" defence-request-service-nginx:localbuild
  • You will need to link a related server with the name 'upsteam', which this nginx then proxies to.
  • ASSET_URL_PREFIX - the host that serves assets.
  • ASSET_BUCKET_NAME - S3 bucket name where the associated assets are stored, if appropriate.

Security upgrades

To apply the latest security upgrades to the container:

Then, apply the CI-generated build to the running instances. See the deploy repo for more information.

ministryofjustice.defence-request-service-nginx's People

Contributors

oskarpearson avatar ansonk avatar friedsock avatar

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.