{"id":20930714,"url":"https://github.com/intermine/docker-intermine-gradle","last_synced_at":"2026-03-09T17:44:13.758Z","repository":{"id":136990287,"uuid":"190007134","full_name":"intermine/docker-intermine-gradle","owner":"intermine","description":"Docker for InterMine","archived":false,"fork":false,"pushed_at":"2024-03-24T05:29:52.000Z","size":112,"stargazers_count":5,"open_issues_count":8,"forks_count":19,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-05-13T19:32:35.742Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-2.1","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/intermine.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-06-03T13:06:32.000Z","updated_at":"2025-03-12T02:50:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"1d769389-ba8a-485e-aee1-1fb03d30ea48","html_url":"https://github.com/intermine/docker-intermine-gradle","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/intermine/docker-intermine-gradle","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intermine%2Fdocker-intermine-gradle","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intermine%2Fdocker-intermine-gradle/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intermine%2Fdocker-intermine-gradle/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intermine%2Fdocker-intermine-gradle/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/intermine","download_url":"https://codeload.github.com/intermine/docker-intermine-gradle/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/intermine%2Fdocker-intermine-gradle/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30305234,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-09T17:35:44.120Z","status":"ssl_error","status_checked_at":"2026-03-09T17:35:43.707Z","response_time":61,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5: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":[],"created_at":"2024-11-18T21:35:52.151Z","updated_at":"2026-03-09T17:44:13.743Z","avatar_url":"https://github.com/intermine.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# docker-intermine-gradle\n\nYou can use these docker images to create your own InterMine instance. You can launch our test InterMine (BioTestMine) or you can use your own data to build a custom mine.\n\n## Requirements\n\n - [Docker](https://docs.docker.com/install/)\n - [Docker compose](https://docs.docker.com/compose/install/)\n\n## Quickstart\n\nIf you're not logged in as root, you will need to create the volume directories which will be shared with the docker containers, to avoid permission errors. This can be done by using the convenience script.\n\n```bash\n./mkdatadirs.sh local.docker-compose.yml\n```\n\nRun the command to build the images locally and start an example InterMine instance - BioTestMine.\n\n```bash\n# Build images locally and start mine\ndocker-compose -f local.docker-compose.yml up --build --force-recreate\n```\n\nAlternatively, you can also use our images on docker hub.\n\n```bash\n# OR\n# use the images on dockerhub\ndocker-compose -f dockerhub.docker-compose.yml up \n```\n\nWait for 10-15 mins for the build to finish. Then visit **`localhost:9999/biotestmine`** to see your new mine.\n\nTo determine whether build is finished or not, search for `intermine_builder exited with code 0` message in your docker-compose logs.\n\n## Deploy your own InterMine with Docker\n\nInstead of building our test mine, you can launch your own custom InterMine by following these instructions.\n\n### Environment variables\n\n| ENV variable  | Description | Default | Example |\n| ------------- | ------------- | ------------- | ------------- |\n| MINE_REPO_URL | The Git URL of your mine | https://github.com/intermine/biotestmine | https://github.com/intermine/flymine |\n| MINE_NAME  | Name of your mine | biotestmine | FlyMine |\n| IM_DATA_DIR | Data directory as used in your project XML file. | `/data` | `/data/flymine` |\n| IM_REPO_URL | The Git URL of the InterMine to build | https://github.com/intermine/intermine | https://github.com/yourfork/intermine |\n| IM_REPO_BRANCH | The branch to checkout in IM_REPO_URL | master | dev |\n| TOMCAT_HOST_PORT | Tomcat will bind to this port on your host machine | 9999 | 1234 |\n\n**Additional notes:**\n- At least one of *IM_REPO_URL* or *IM_REPO_BRANCH* need to be specified to trigger a custom build of InterMine. This build of InterMine will then be used to build your mine.\n- *IM_DATA_DIR* should not have a trailing slash (`/`)\n\n### Update data location\n\nWe now need to tell Docker where the data is located.\n\n1. Create the directory `./data/mine/data` in your **current working directory**. If you did the quickstart above, it will already have been created for you.\n\n2. Uncomment the following line in intermine_builder section of your docker-compose file:\n\n```bash\n# - ./data/mine/data:/home/intermine/intermine/data\n```\n\n3. Update `./data/mine/data` to be the absolute path to your data directory. \n\n### Configs\n\nAdd your mine property file (e.g. flymine.properties) to the **`./data/mine/config`** folder. \n\nIn your properties file, do the following changes:\n\n```\n      db.production.datasource.serverName=postgres\n      db.production.datasource.databaseName=PSQL_DB_NAME\n      db.production.datasource.user=PSQL_USER\n      db.production.datasource.password=PSQL_PWD\n  \n      db.common-tgt-items.datasource.serverName=postgres\n      db.common-tgt-items.datasource.databaseName=items-PSQL_DB_NAME\n      db.common-tgt-items.datasource.user=PSQL_USER\n      db.common-tgt-items.datasource.password=PSQL_PWD\n      \n      db.userprofile-production.datasource.serverName=postgres\n      db.userprofile-production.datasource.databaseName=userprofile-PSQL_DB_NAME\n      db.userprofile-production.datasource.user=PSQL_USER\n      db.userprofile-production.datasource.password=PSQL_PWD\n\n      webapp.manager=TOMCAT_USER\n      webapp.password=TOMCAT_PWD\n```\n\nThe build will replace these placeholders with the generated usernames and passwords.\n\n### Change default settings (optional)\n\nYou can configure a lot of options by creating a `.env` file in the current working directory and adding the required key value pairs. These are used as env vars by docker-compose. For example:\n```bash\nMINE_NAME=humanmine\nMINE_REPO_URL=https://github.com/intermine/humanmine\nIM_DATA_DIR=/tmp/data\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintermine%2Fdocker-intermine-gradle","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fintermine%2Fdocker-intermine-gradle","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fintermine%2Fdocker-intermine-gradle/lists"}