Giter Site home page Giter Site logo

iris-docker-compose's Introduction

IRIS In One Command

This repo lets you quickly start and use the following services:

  1. iris-api
  2. iris-relay
  3. iris-frontend
  4. iris-sender
  5. mysql

Getting started

Spin up the cluster

make

Start your web browser and go to: http://localhost:16649

Stop the stack..

docker-compose stop

Start it again without recreating everything:

docker-compose up --no-recreate

Poking around

See which containers are running:

docker ps

Jump into a container:

 docker exec -i -t $ID  /bin/bash

Kill a container

docker rm -f $ID

iris-docker-compose's People

Contributors

chriscarini avatar dwang159 avatar hickwillie avatar jrgp avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

iris-docker-compose's Issues

Is this still working?

I cloned the project and run the following and is not working as it should

[[email protected] iris-full]# make
install -d logs/iris-{api,relay}/{nginx,uwsgi}
docker-compose up -d
Starting iris-full_db_1 ... done
Starting iris-full_iris-api_1 ... done
Starting iris-full_prometheus_1 ... done
Starting iris-full_iris-relay_1 ... done
[[email protected] iris-full]# docker ps -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
726bc60359cd prom/prometheus "/bin/prometheus --c…" 2 minutes ago Up 6 seconds 0.0.0.0:9090->9090/tcp iris-full_prometheus_1
00bc68cf5bcb quay.io/iris/iris-relay "sudo -EHu iris-rela…" 2 minutes ago Up 6 seconds 8080/tcp, 0.0.0.0:16648->16648/tcp iris-full_iris-relay_1
eab3a0162760 quay.io/iris/iris "sudo -EHu iris bash…" 2 minutes ago Up 6 seconds 0.0.0.0:16649->16649/tcp iris-full_iris-api_1
485e7994052e mysql:5.7 "docker-entrypoint.s…" 3 minutes ago Up 7 seconds 3306/tcp, 33060/tcp iris-full_db_1

When I tried to go to localhost:16649 is not loading anything

I checked iris-api logs and it doesnt show anything but the mysql logs show the following:
2020-06-30T22:12:29.149913Z 0 [Note] mysqld: ready for connections.
Version: '5.7.30' socket: '/var/run/mysqld/mysqld.sock' port: 3306 MySQL Community Server (GPL)
2020-06-30T22:12:29.704040Z 2 [Note] Got an error reading communication packets
2020-06-30T22:12:30.962040Z 3 [Note] Got an error reading communication packets

ldap auth issues

auth:
module: 'iris_api.ui.auth.ldap'
ldap_user_suffix: '@yourdomain.com'
ldap_url: 'ldaps://your-ldap-server.com'
ldap_cert_path: path/to/your/cert/pem

I have tried but got below error.

ImportError: No module named iris_api.ui.auth.ldap
[2019-01-10 10:00:38 +0000] [3071] [INFO] Worker exiting (pid: 3071)
[2019-01-10 10:00:38 +0000] [3067] [INFO] Shutting down: Master
[2019-01-10 10:00:38 +0000] [3067] [INFO] Reason: Worker failed to boot.
Makefile:4: recipe for target 'serve' failed
make: *** [serve] Error 3

No longer able to connect to the repositories

Unable to read from remote repositories when doing make.

iris-api doesn't seem to exist.

Tried to rename to iri and still getting same error.

Fatal: Could not read from the remote repository.

ERROR: pull access denied for iris-api

Running make fails with this error:

Pulling iris-api (iris-api:latest)...
ERROR: pull access denied for iris-api, repository does not exist or may require 'docker login'

Changing image: iris-api in the docker-compose.yml to:

  iris-api:
    depends_on:
      - db
    # build: ./iris-api
    image: quay.io/iris/iris

Solves the problem.

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.