GithubHelp home page GithubHelp logo

islandsvinur / artifact-store Goto Github PK

View Code? Open in Web Editor NEW

This project forked from adrichem/artifact-store

0.0 2.0 0.0 23 KB

Arranges storage and indexing for things like videos, logs and screenshots

License: MIT License

Dockerfile 3.48% JavaScript 96.52%

artifact-store's Introduction

artifact-store: Storage for artifacts like videos, logs and screenshots.

Post a multipart file upload to the / endpoint and the 'artifact-store' does the following:

  1. Saves each file on Azure Blobstorage.
  2. Generates metadata for each file (url, originalname, mime-type)
  3. If you included a key called 'metadata' in the form, its content is treated as a JSON object and included in the metadata.
  4. Stores the metadata on Azure Blobstorage.
  5. Sends the metadata to Elasticsearch for indexing.

You can use it from a docker-compose file like this:

version: '2'

networks:
     grid:

services:
  artifact-store:
    image: artifact-store:latest
    ports: 
    - 4000:4000
    restart: always
    networks:
      grid:
        aliases:
        - artifact-store
    command: > 
      npm start --
        --port 4000 
        --connection https://<youraccounthere>.blob.core.windows.net/ 
        --key <yourkeyhere>
        --account <youraccounthere>
        --container artifacts
        --metadataContainer metadata
        --indexer http://elasticsearch:9200/artifacts/artifact
      
  elasticsearch:
    image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.1.2
    ports: 
      - 9200:9200
      - 9300:9300
    restart: always
    environment:
      - discovery.type=single-node
    networks:
      grid:
        aliases:
        - elasticsearch

  kibana:
    image: docker.elastic.co/kibana/kibana-oss:6.1.2
    ports: 
      - 5601:5601
    restart: always
    environment:
      ELASTICSEARCH_URL: http://elasticsearch:9200
      xpack.security.enabled: "false"
    networks:
      grid:
        aliases:
        - kibana
  
  zalenium:
    image: adrichem/zalenium-artifact-store:3.8.1j
    ports:
    - 4444:4444
    - 5555:5555
    volumes:
    - /var/run/docker.sock:/var/run/docker.sock
    environment:
      - REMOTE_DASHBOARD_HOST=http://artifact-store:4000
    restart: always
    command: >
      start --seleniumImageName elgalu/selenium:3.8.1-p7  
        --screenWidth 1920
        --screenHeight 1080
        --videoRecordingEnabled false
    networks:
      grid:
        aliases:
        - zalenium-node1

artifact-store's People

Contributors

adrichem avatar

Watchers

 avatar  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.