Giter Club home page Giter Club logo

osparc-ops-environments's Introduction

oSparc Simcore - Full Ops Stack with Monitoring and Debugging tools

tl;dr

  • In this repo's source path, create the file .config.location that contains the absolute full path to a oSparc Configuration Repo.
  • make help
  • For example: make up-aws

Make sure to install pre-commit!

pip install pre-commit
pre-commit install

Concepts:

The configuration (i.e. "env-vars") are seperated from the definitions of the ops-stack. In order for the ops-stack to start, configuration variables must be known. To do this, create the file .config.location in this repo's source path that contains the absolute full path to a oSparc Configuration Repo.

Local deployment

This code has been tested to run on a current Ubuntu machine with docker installed from the official docker repositories

Docker on windows is not supported, as the handling of named docker volumes is different there from linux and bind-mounting named volumes fails.

Prerequisits

Depending on your system configuration, you might have to ensure that

sudo chmod 666 /var/run/docker.sock

You need to have jinja2 installed and working.

If you have multiple IP adressess set, the automatic creation of a docker-swarm might fail on your machine. In this case, manually create a docker-swarm and specify the advertise IP-address you desire:

docker swarm init --advertise-addr 192.6.XXX.XXX

If you encounter self-signed SSL certificate related errors, ensure (in this order):

  • The certificate authority (rootca.crt) has been imported into the target browser. Browsers are strict.
  • Run make down. Run docker system prune -a. Ensure all services are stopped (check docker service ls). Manually purge all docker secrets (check docker secret rm). Run cd certificates && make remove-root-certificate && make clean
  • Restart the docker daemon

Run:

make up-local
cd scripts/provisionDatabase && make up

Then, create a test user with mail-address "[email protected]"

While this is not officially supported, you might be able to run this on WSL2, but only if you don't use Docker Desktop but the linux-only docker client on wsl2.

osparc-ops-environments's People

Contributors

yuryhrytsuk avatar mrnicegyu11 avatar sanderegg avatar surfict avatar githk avatar bisgaard-itis avatar matusdrobuliak66 avatar dependabot[bot] avatar pcrespov avatar itis-devops avatar elisabettai 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.