Coder Social home page Coder Social logo

quizae-infrastructure's People

Contributors

mareddie avatar

Watchers

 avatar

quizae-infrastructure's Issues

Prepare mysql for backend environment

With new version of Quizae Backend, I've changed a data layer a bit and adapted MySQL as main storage.

This needs to be reflected in infrastructure as well

Setup Mongo replica set on server infrastructure

Generate keyFile in config directory of mongo. Add there a new user and sync permissions for keyFile. After it's running in stack, initiate rs via mongosh and change replica config (to use container name and port instead of physical address / hostname)

Implement stack definition for Quizae Backend

There should be two services, Quizae Backend App (try multi-replica setup) - which is a custom image built in Quizae repository, and also Mongo DB container.

Mongo needs to run in Replica Set. Maybe also try to run in multi-container setup for high availability? Do some due diligence.

Secrets (e.g. database credentials) should be managed by Docker Swarm (editable via Portainer).

Backend should be exposed via Traefik, and should be routed on host api.quizae.com.

Database cannot be exposed outside of the cluster. NO PORT FORWARDING.

Change configs to Docker runtime

There's no need of having server runtime in Swarm, when there's only one node - runtime will be on single server, and having single swarm node doesn't justify the overhead.

Migrate everything on a single docker host setup.

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.