This question was originally from: https://github.com/pryv/open-pryv.io/issues/13
I'm using docker-compose based Pryv installation, and it would be great to have the ability to specify some configuration via environment variables instead of mounting the config file. E.g:
services: open-pryv.io: image: pryvio/open-pryv.io:latest command: "yarn api" container_name: "open-pryv.io" environment: DNSLESS_PUBLIC_URL: http://localhost:3000 AUTH_ADMIN_ACCESS_KEY: CHANGE_ME AUTH_TRUSTED_APPS: "*@https://pryv.github.io, *@http://*localhost*" DATABASE_HOST: open-pryv-mongo DATABASE_PORT: 27017 DATABASE_NAME: pryv-node ports: - 3000:3000 depends_on: - open-pryv-mongo networks: - app-network
Is it possible?
Please sign in to leave a comment.