{"user":"intershopde","name":"docker-confd","namespace":"intershopde","repository_type":"image","status":1,"status_description":"active","description":"This image provides a configuration file `/confd-out/config` for other containers.","is_private":false,"is_automated":true,"star_count":1,"pull_count":277,"last_updated":"2018-12-18T12:34:04.513381Z","last_modified":"2024-10-16T13:48:34.145251Z","date_registered":"2018-11-30T10:11:30.054436Z","collaborator_count":0,"affiliation":null,"hub_user":"intershopde","has_starred":false,"full_description":" [![Docker Stars](https://img.shields.io/docker/stars/intershopde/docker-confd.svg?style=plastic)](https://registry.hub.docker.com/v2/repositories/intershopde/docker-confd/stars/count/) [![Docker pulls](https://img.shields.io/docker/pulls/intershopde/docker-confd.svg?style=plastic)](https://registry.hub.docker.com/v2/repositories/intershopde/docker-confd/)\n[![Docker Automated build](https://img.shields.io/docker/automated/intershopde/docker-confd.svg?maxAge=2592000?style=plastic)](https://github.com/IntershopCommunicationsAG/docker-confd/)\n\n# Docker Confd Config\n\nThis image provides a configuration file `/confd-out/config` from environment variables via volume to be used in other containers.\n\n# Example configuration\n\nUsing nginx just to have a running container, so compose up will not exit. Replace nginx with your service and use the configuration file directly or e.g. via symlinks (`ln -s /confd-out/config /etc/nginx/conf.d/custom.conf`).\n\nWrite a `docker-compose.yml` (included in github source):\n\n```\nversion: \"3.2\"\n\nvolumes:\n  confd-out:\n\nservices:\n  nginx:\n    image: nginx:alpine\n    volumes:\n    - confd-out:/confd-out\n\n  confd:\n    image: intershopde/docker-confd\n    environment:\n      CONFIG_CONTENT: |\n        multiline\n        configuration\n        with empty line\n\n    volumes:\n    - confd-out:/confd-out\n```\n\nThen run:\n\n```\ndocker-compose up -d\ndocker exec -it docker-confd_nginx_1 /bin/sh\n/ # cat /confd-out/config\n\u003e multiline\n\u003e configuration\n\u003e with empty line\n\u003e\n/ # exit\ndocker-compose down -v\n```\n\n# License\n\nCopyright 2018 Intershop Communications.\n\nLicensed under the Apache License, Version 2.0 (the \"License\"); you may not use this file except in compliance with the License. You may obtain a copy of the License at\n\nhttp://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software distributed under the License is distributed on an \"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.\n\n## Third-party License confd\n\nGithub: https://github.com/kelseyhightower/confd\n\nLicensed under the MIT license.\n\n```\nCopyright (c) 2013 Kelsey Hightower\n\nPermission is hereby granted, free of charge, to any person obtaining a copy of\nthis software and associated documentation files (the \"Software\"), to deal in\nthe Software without restriction, including without limitation the rights to\nuse, copy, modify, merge, publish, distribute, sublicense, and/or sell copies\nof the Software, and to permit persons to whom the Software is furnished to do\nso, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n```\n","permissions":{"read":true,"write":false,"admin":false},"media_types":["application/vnd.docker.container.image.v1+json"],"content_types":["image"],"categories":[],"immutable_tags_settings":{"enabled":false,"rules":[".*"]},"storage_size":24959575,"source":null}