{"id":28471616,"url":"https://github.com/openml/openml-docker-dev","last_synced_at":"2025-06-14T16:32:40.363Z","repository":{"id":31629169,"uuid":"128414650","full_name":"openml/openml-docker-dev","owner":"openml","description":"Docker compose for starting local OpenML instances","archived":false,"fork":false,"pushed_at":"2023-01-13T07:46:04.000Z","size":28968,"stargazers_count":11,"open_issues_count":5,"forks_count":4,"subscribers_count":10,"default_branch":"master","last_synced_at":"2025-06-07T11:08:04.431Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Dockerfile","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/openml.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-04-06T15:45:31.000Z","updated_at":"2022-03-01T15:14:01.000Z","dependencies_parsed_at":"2023-01-14T19:26:17.681Z","dependency_job_id":null,"html_url":"https://github.com/openml/openml-docker-dev","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/openml/openml-docker-dev","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openml%2Fopenml-docker-dev","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openml%2Fopenml-docker-dev/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openml%2Fopenml-docker-dev/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openml%2Fopenml-docker-dev/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/openml","download_url":"https://codeload.github.com/openml/openml-docker-dev/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/openml%2Fopenml-docker-dev/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259845449,"owners_count":22920743,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":"2025-06-07T11:08:07.480Z","updated_at":"2025-06-14T16:32:40.357Z","avatar_url":"https://github.com/openml.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OpenML Docker compose images/scripts for local development setup (Linux/Windows)\n\n## **For local dev environment setup only, Insecure \u0026 Not for Production Setup**\n\n\n# Issues/limitations\n- current only works on port 80\n- wiki powered by gollum is not working (in the new OpenML frontend this will no longer be used).\n- **Only the local admin account works for now.** There is an issue with login and it will not be possible to create and login with other accounts (Work in progress)\n\n\n# Requirements\n\n- Git (https://git-scm.com/)\n- Docker (https://www.docker.com/get-docker)\n\nFor Linux: docker commands assume you can use docker without sudo (your user is in docker group, ex: sudo usermod -aG docker $USER). Otherwise prefix docker commands with sudo. \n\n\n# Instructions\n\n\n### Step 1: Clone the repos\n\nNote that we clone docker_changes branch of OpenML repo. \n\n```\ngit clone https://github.com/openml/openml-docker-dev.git\n\ncd openml-docker-dev\n\ngit clone -b docker_changes https://github.com/openml/OpenML.git\n\n```\n![](images/2018-04-07-00-57-29.png)\n\n### Step 2: Configure docker and OpenML\n\nEdit *docker-compose.yml* mainly define a secure **mysql password**:\n\n**(leaving the default will make docker-compose fail)**\n\n![](images/passwordsql.PNG)\n\n\nCopy *OpenML\\openml_OS\\config\\BASE_CONFIG-BLANK.php* to *OpenML\\openml_OS\\config\\BASE_CONFIG.php*\n\nCheck \u0026 change *BASE_CONFIG.php* as appropriate:\n\nDefine BASE_URL as localhost:\n\n![](images/2018-04-07-01-01-52.png)\n\nDefine path and data path. In the docker compose, note that /var/www/html is mapped to ./OpenML.\n\n![](images/2018-04-07-01-02-07.png)\n\n![](images/datapath.PNG)\n\nConfigure details for the experiment database.\n\n![](images/pass1.PNG)\n\nConfigure details for the OpenML database.\n\n![](images/pass2.PNG)\n\nConfigure elastic search.\n\n![](images/2018-04-07-01-03-52.png)\n\n![](images/2018-04-07-01-04-02.png)\n\nDisable email activation in *OpenML\\openml_OS\\config\\ion_auth.php*\n\n![](images/2018-04-07-01-07-21.png)\n\n### Step 3: Starting docker-compose\n\nOn the openml-docker-dev root folder, where *docker-compose.yml* is located run:\n\n```\ndocker pull docker.elastic.co/elasticsearch/elasticsearch:6.8.2\n\ndocker-compose up\n```\nThe elasticsearch pull is needed only for the very first time. Images can take few minutes to build for the first time, \nafter start wait a few seconds for services to be ready, ex: MySQL ready for connections)\n\n![](images/2018-04-07-01-11-21.png)\n\n![](images/2018-04-07-01-12-43.png)\n\n### Step 4 Check phpmyadmin at http://localhost:8080/\n\n![](images/2018-04-07-01-13-38.png)\n\n![](images/2018-04-07-01-13-50.png)\n\n![](images/2018-04-07-01-14-02.png)\n\n\n### Step 5: Init dbs, admin user \u0026 elastic search indexes\n\nExecute in a new window/shell: \n\n```\ndocker exec -it openml-docker-dev_website_1 php index.php cron init_local_env\n```\n\n(take note the printed admin username and password, and wait to finish, can take 1-2mins)\n\n![](images/localdb.PNG)\n\n\n\nChange data folder owner to www-data apache user in container, allow for logs/uploads in data folder, resets log file permissions created in previous init step\n\nExecute in a new window/shell:\n```\ndocker exec -it openml-docker-dev_website_1 chown -R www-data:www-data /var/www/html/data\n```\n\n\n\n###  Step 6: Final tests\n\nLogin on http://localhost with admin and saved password\n\n![](images/admin.PNG)\n\n![](images/2018-04-07-01-18-32.png)\n\n![](images/2018-04-07-01-18-37.png)\n\n### Check dataset \nWe have 1 sample dataset\n![](images/ds1.PNG)\n\n### Test upload dataset \u0026 wait for feature calculation. The status will change to active in a few minutes.\n![](images/2018-04-07-01-18-59.png)\n\n![](images/2018-04-07-01-19-05.png)\n\n![](images/upload2.PNG)\n\n### Note: Files in OpenML cloned repo are mounted inside the website container, any change will reflect immediately on the site\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenml%2Fopenml-docker-dev","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenml%2Fopenml-docker-dev","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenml%2Fopenml-docker-dev/lists"}