Code Monkey home page Code Monkey logo

findfacts-deployment's Introduction

findfacts-deployment

Deployment repository for the findfacts project.

Deployment configs are stored here additively so that older versions still run when re-deploying.

There is a small tool, update-deployed.sh that creates a new deployment with the files from templates (and is able to do some variable replacement for consistent version numbers). Set the version number variables in this script appropriately.

Don't change the deployed folder manually!

How to deploy

Requirements: docker >= 18, docker-compose

Steps to deploy:

  1. Check out and cd into repo

  2. Create and set application secret:

    head -c 32 /dev/urandom | base64

    Set result as value in deployed/app/app.env for APPLICATION_SECRET key

  3. Set hostname in deployed/app/server.env

  4. Start infrastructure

    cd deployed/infrastructure
    docker-compose up -d
  5. Start db, then app (same way as infrastructure)

Services

You can then reach the following endpoints:

  • 80/443: reverse-proxy
  • 3000: app
  • 8983: solr
  • 514,601,6514: syslog

So make sure only ports 80 and 443 are exposed to the web.

Logs are collected in the infrastructure_logs volume (can also be accessed from prod_syslog container under /logs).

findfacts-deployment's People

Contributors

dacit avatar qafabianhuch avatar

Stargazers

 avatar

Watchers

Josef Adersberger avatar James Cloos avatar Josef Fuchshuber avatar M.-Leander Reimer avatar Florian Lautenschlager avatar  avatar  avatar  avatar

Forkers

dacit isabella232

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.