{"action":"created","issue":{"url":"https://api.github.com/repos/docker/distribution/issues/625","labels_url":"https://api.github.com/repos/docker/distribution/issues/625/labels{/name}","comments_url":"https://api.github.com/repos/docker/distribution/issues/625/comments","events_url":"https://api.github.com/repos/docker/distribution/issues/625/events","html_url":"https://github.com/docker/distribution/issues/625","id":87605899,"number":625,"title":"Question: How to use environment variables for notification endpoints?","user":{"login":"diptanu","id":21833,"avatar_url":"https://avatars.githubusercontent.com/u/21833?v=3","gravatar_id":"","url":"https://api.github.com/users/diptanu","html_url":"https://github.com/diptanu","followers_url":"https://api.github.com/users/diptanu/followers","following_url":"https://api.github.com/users/diptanu/following{/other_user}","gists_url":"https://api.github.com/users/diptanu/gists{/gist_id}","starred_url":"https://api.github.com/users/diptanu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diptanu/subscriptions","organizations_url":"https://api.github.com/users/diptanu/orgs","repos_url":"https://api.github.com/users/diptanu/repos","events_url":"https://api.github.com/users/diptanu/events{/privacy}","received_events_url":"https://api.github.com/users/diptanu/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/docker/distribution/labels/question","name":"question","color":"cc317c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-12T04:46:49Z","updated_at":"2015-06-13T06:10:20Z","closed_at":null,"body":"We are using the notification API to build an index of images pushed for building a search API. We have a configuration like -\r\n\r\n```\r\nnotifications:\r\n    endpoints:\r\n        - name: pandora\r\n          url: http://our-event-server.orgname.net/events\r\n          timeout: 1s\r\n          threshold: 10\r\n          backoff: 1s\r\n          disabled: false\r\n```\r\n\r\nCan we do something like REGISTRY_NOTIFICATIONS_ENDPOINTS_NAME_URL=<the_url_here>\r\nSince the endpoints is a list, I am not really sure what is the convention for defining environment variables are for this section."},"comment":{"url":"https://api.github.com/repos/docker/distribution/issues/comments/111679452","html_url":"https://github.com/docker/distribution/issues/625#issuecomment-111679452","issue_url":"https://api.github.com/repos/docker/distribution/issues/625","id":111679452,"user":{"login":"diptanu","id":21833,"avatar_url":"https://avatars.githubusercontent.com/u/21833?v=3","gravatar_id":"","url":"https://api.github.com/users/diptanu","html_url":"https://github.com/diptanu","followers_url":"https://api.github.com/users/diptanu/followers","following_url":"https://api.github.com/users/diptanu/following{/other_user}","gists_url":"https://api.github.com/users/diptanu/gists{/gist_id}","starred_url":"https://api.github.com/users/diptanu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/diptanu/subscriptions","organizations_url":"https://api.github.com/users/diptanu/orgs","repos_url":"https://api.github.com/users/diptanu/repos","events_url":"https://api.github.com/users/diptanu/events{/privacy}","received_events_url":"https://api.github.com/users/diptanu/received_events","type":"User","site_admin":false},"created_at":"2015-06-13T06:10:20Z","updated_at":"2015-06-13T06:10:20Z","body":"@stevvooe Is there a work around here?? We basically want to use different notification endpoint URLs for different AWS Regions. "}}