{"id":43529237,"url":"https://github.com/factorysh/docker-solr","last_synced_at":"2026-02-03T15:37:48.400Z","repository":{"id":42393023,"uuid":"141138371","full_name":"factorysh/docker-solr","owner":"factorysh","description":"Dockerfile for Solr","archived":false,"fork":false,"pushed_at":"2022-04-07T08:58:26.000Z","size":112,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":6,"default_branch":"master","last_synced_at":"2024-04-21T00:58:40.690Z","etag":null,"topics":["docker","solr"],"latest_commit_sha":null,"homepage":"","language":"Makefile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/factorysh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-07-16T12:53:38.000Z","updated_at":"2024-04-21T00:58:40.691Z","dependencies_parsed_at":"2022-08-27T13:21:25.082Z","dependency_job_id":null,"html_url":"https://github.com/factorysh/docker-solr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/factorysh/docker-solr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/factorysh%2Fdocker-solr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/factorysh%2Fdocker-solr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/factorysh%2Fdocker-solr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/factorysh%2Fdocker-solr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/factorysh","download_url":"https://codeload.github.com/factorysh/docker-solr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/factorysh%2Fdocker-solr/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29048016,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-03T15:19:55.533Z","status":"ssl_error","status_checked_at":"2026-02-03T15:13:09.723Z","response_time":96,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["docker","solr"],"created_at":"2026-02-03T15:37:46.962Z","updated_at":"2026-02-03T15:37:48.388Z","avatar_url":"https://github.com/factorysh.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"Solr images by Bearstech\n========================\n\nAvailable image:\n\n[bearstech/solr](https://hub.docker.com/r/bearstech/solr/)\n\nMany solr versions are availables from 3.x to 8.x+. Check available [tags](https://hub.docker.com/r/bearstech/solr/tags)\n\nDockerfiles\n-----------\n\nDockerfiles are available at https://github.com/factorysh/docker-solr\n\nUsage\n-----------\n\nImages contain only one Solr core with the default sample configuration provided with Solr release.\n\n- Configuration files are stored in /etc/solr/conf\n- Indexes and data are stored in /var/lib/solr/data\n- Use a docker volume on /var/lib/solr/data to ensure your data is persistent!\n\nWhen replacing Solr configuration files, make sure that your /etc/solr/conf/solrconfig.xml contains:\n```\n\u003cdataDir\u003e${solr.data.dir:}\u003c/dataDir\u003e\n```\n\n\nSolr embedded Jetty server listens on TCP port 8983.\n\nSolr URI is :\n- /solr/ for Solr 3.x and 4.x, eg.: http://solr:8983/solr/admin/ping\n- /solr/core1/ for Solr 5.x and above, eg.: http://solr:8983/solr/core1/admin/ping\n\nYou can ajust SOLR_JAVA_MEM to suits your needs (Solr \u003e= 7)\n\nSolr versions \u003c 7 are no longer maintained.\n\nExample\n-----------\n\nDockerfile sample for \"factory\":\n```\n# use bearstech solr\nFROM bearstech/solr:8\n\n# add user solr\nARG uid=1001\nRUN useradd solr -d /opt/solr --uid ${uid} --shell /bin/bash\n\n# Remove default configuration files\nRUN rm -rf /etc/solr/conf/*\n# Copy my configuration files\nCOPY /conf/solr /etc/solr/conf\n\n# Adjust owner\nRUN chown ${uid}.${uid} /opt/solr\nRUN chown ${uid}.${uid} /var/lib/solr\nRUN chown ${uid}.${uid} /etc/solr\n\nUSER solr\n\n# Default timezone used by solr\n#ENV SOLR_TIMEZONE=\"Europe/Paris\"\n#ENV SOLR_JAVA_MEM=\"-Xms512m -Xmx512m\"\n```\n\ndocker-compose.yml sample for \"factory\":\n```\n    solr:\n        image: $CI_REGISTRY_IMAGE/solr:8\n        volumes:\n            - ./data/solr8:/var/lib/solr/data\n        expose:\n            - 8983\n\n    php:\n        image: $CI_REGISTRY_IMAGE/php:latest\n        environment:\n            CI_ENVIRONMENT_NAME: ${CI_ENVIRONMENT_NAME}\n            X_SOLR_HOST: ${X_SOLR_HOST:-solr}\n            X_SOLR_PORT: ${X_SOLR_PORT:-8983}\n            X_SORL_URL:  ${X_SOLR_URL:-/solr}\n            # url is solr/core1\n            #X_SORL_URL:  ${X_SOLR_URL:-/solr/core1}\n            MYSQL_DATABASE: ${MYSQL_DATABASE}\n            MYSQL_HOST: ${MYSQL_HOST:-mysql}\n            MYSQL_USER: ${MYSQL_USER}\n            MYSQL_PASSWORD: ${MYSQL_PASSWORD}\n            MAILS_TOKEN: ${MAILS_TOKEN}\n            MAILS_USER: ${MAILS_USER}\n            MAILS_DOMAIN: ${MAILS_DOMAIN}\n            MAILS_PORT: ${MAILS_PORT}\n\n        links:\n            -solr\n            -mysql\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffactorysh%2Fdocker-solr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffactorysh%2Fdocker-solr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffactorysh%2Fdocker-solr/lists"}