{"id":13557821,"url":"https://github.com/loris-imageserver/loris-docker","last_synced_at":"2025-04-03T12:31:09.880Z","repository":{"id":29587173,"uuid":"33127065","full_name":"loris-imageserver/loris-docker","owner":"loris-imageserver","description":"Loris docker image suitable for development environments","archived":false,"fork":false,"pushed_at":"2023-09-15T01:24:28.000Z","size":62978,"stargazers_count":16,"open_issues_count":6,"forks_count":19,"subscribers_count":6,"default_branch":"development","last_synced_at":"2024-11-04T08:36:31.212Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","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/loris-imageserver.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,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2015-03-30T14:12:51.000Z","updated_at":"2024-06-04T20:15:07.000Z","dependencies_parsed_at":"2024-04-21T23:17:36.777Z","dependency_job_id":"4851a1a4-ec51-4182-9425-c42488ca5c10","html_url":"https://github.com/loris-imageserver/loris-docker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loris-imageserver%2Floris-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loris-imageserver%2Floris-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loris-imageserver%2Floris-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/loris-imageserver%2Floris-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/loris-imageserver","download_url":"https://codeload.github.com/loris-imageserver/loris-docker/tar.gz/refs/heads/development","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247002241,"owners_count":20867431,"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":"2024-08-01T12:04:34.148Z","updated_at":"2025-04-03T12:31:09.573Z","avatar_url":"https://github.com/loris-imageserver.png","language":"Python","funding_links":[],"categories":["Python","others"],"sub_categories":[],"readme":"**Note:** This repository has not been maintained all that well. Fixes are welcome, but you might also want to look at https://github.com/bodleian/loris-grok-docker\n\nDocker build of Loris IIIF Image Server\n===========\n\nDocker container running [Loris IIIF Image Server](https://github.com/loris-imageserver/loris)\n\n**Warning** : the actual version is a simple way to have loris works, but the server is the developpement werkzeug server with debugging enabled. Hence not suitable for developpement purpose.\n\n### Use  pre-built image\nDownload image from docker hub.\n\n    $ docker pull lorisimageserver/loris\n\n### Build from scratch\nUse local Dockerfile to build image.\n\n    $ docker build -t your_image_name .\n\n### Start the container and test\n\n    $ docker run -d -p 5004:5004 lorisimageserver/loris\n\nPoint your browser to `http://\u003cHost or Container IP\u003e:5004/01/02/0001.jp2/full/full/0/default.jpg`\n\n### Use your own image folder\n\nAdd your image directory as a volume\n\n    $ docker run -d -v \u003cyour-img-folder\u003e:/usr/local/share/images -p 5004:5004 \u003cdocker-image\u003e\n\n### Use samba to load images\nAdd the images directory as a volume and mount on a Samba or sshd container. [(See svendowideit/samba)](https://registry.hub.docker.com/u/svendowideit/samba/)\n\n    $ docker run --name loris -v /usr/local/share/images -d -p 5004:5004 lorisimageserver/loris\n    $ docker run --rm -v /usr/local/bin/docker:/docker -v /var/run/docker.sock:/docker.sock svendowideit/samba loris\n    \n\n### Create loris cluster\nCreate data volume container\n\n    $ docker run --name loris_data -v /usr/local/share/images -v /var/cache/loris -d ubuntu echo Data only container for loris images and cache\n\nCreate two loris server containers with shared image and cache volumes    \n\n    $ docker run --name loris_server_1 --volumes-from loris_data -d lorisimageserver/loris\n    $ docker run --name loris_server_2 --volumes-from loris_data -d lorisimageserver/loris\n    \nBuild nginx image with custom config\n\n    $ cd nginx\n    $ docker build -t lorisimageserver/nginx .\n\nRun nginx proxy\n\n    $ docker run --name loris_proxy  --link loris_server_1:server1 --link loris_server_2:server2 -d -p 80:80 lorisimageserver/nginx\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floris-imageserver%2Floris-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Floris-imageserver%2Floris-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Floris-imageserver%2Floris-docker/lists"}