Giter VIP home page Giter VIP logo

Comments (5)

perki avatar perki commented on May 30, 2024

Hello @emilt27

Yes it's.

configuration items can be changed from the command line. You can couple this with environment variables.

Exemple:

export SERVICE_NAME="My own Pryv"
yarn api --service.name=$SERVICE_NAME

from open-pryv.io.

kebetsi avatar kebetsi commented on May 30, 2024

Hi @emilt27,

We're building a new version where you will be able to provide config values with the same case, separated by __ (double undeerscore), as environment variables in the following way:

services:
  open-pryv.io:
    image:  pryvio/open-pryv.io:latest
    command: "yarn api"
    container_name: "open-pryv.io"
    environment:
        dnsLess__publicUrl:  http://localhost:3000
        auth__adminAccessKey:  CHANGE_ME
        auth__trustedApps: "*@https://pryv.github.io, *@http://*localhost*"
    ports:
        - 3000:3000
    depends_on:
        - open-pryv-mongo
    networks:
        - app-network

We'll let you know when it's ready later this afternoon.

from open-pryv.io.

kebetsi avatar kebetsi commented on May 30, 2024

Hi @emilt27,

The latest image with tag 1.6.20-1-open supports providing configuration variables as environment variables with __ (double underscore) for hierarchical separator.

Please let us know if this fits your needs.

from open-pryv.io.

emilt27 avatar emilt27 commented on May 30, 2024

@kebetsi, @perki thanks! It would be great to see it somewhere in the documentation.

from open-pryv.io.

perki avatar perki commented on May 30, 2024

Added to: https://support.pryv.com/hc/en-us/community/posts/360010694300-Ability-to-specify-configuration-via-environment-variables-using-docker?page=1#community_comment_360003111419

from open-pryv.io.

Related Issues (13)

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.