{"id":20838459,"url":"https://github.com/reload/os2display-docker","last_synced_at":"2026-03-16T11:35:15.225Z","repository":{"id":137511848,"uuid":"189018808","full_name":"reload/os2display-docker","owner":"reload","description":"Docker-based development of OS2display","archived":false,"fork":false,"pushed_at":"2020-01-29T02:42:52.000Z","size":410,"stargazers_count":0,"open_issues_count":0,"forks_count":6,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-18T23:17:33.761Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Makefile","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/reload.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,"publiccode":null,"codemeta":null}},"created_at":"2019-05-28T11:53:27.000Z","updated_at":"2020-01-29T02:42:48.000Z","dependencies_parsed_at":null,"dependency_job_id":"d353db02-d788-4426-98f2-74b86d71278c","html_url":"https://github.com/reload/os2display-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/reload%2Fos2display-docker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reload%2Fos2display-docker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reload%2Fos2display-docker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/reload%2Fos2display-docker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/reload","download_url":"https://codeload.github.com/reload/os2display-docker/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243196618,"owners_count":20251857,"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-11-18T01:10:22.624Z","updated_at":"2025-12-26T11:44:38.181Z","avatar_url":"https://github.com/reload.png","language":"Makefile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Infrastructure for Os2Display\n\nThe repository contains a Docker setup for developing os2display.\n\n## Project-specific customizations\nClone this project, then customize `_variables.source`. You should at the very least update `ADMIN_REPOSITORY` and `ADMIN_REPOSITORY_BRANCH` to reference your `admin` fork.\n\n## Changes to admin\nYou must make the following changes to your `admin` fork to be compatible with the docker-setup.\n\nFirst add support for patches during composer-install.\n```shell\ndocker-compose run \\\n  -e COMPOSER_MEMORY_LIMIT=-1 \\\n  admin-php \\\n  composer require cweagans/composer-patches:~1.0\n```\n(The composer dependencygraph is quite large so we need to cancel the memory-limit an keep our fingers crossed, you probably need about 3-4 gigabytes of available memory in the container).\n\nAdd a patch to support non-localhost elasticsearch (until https://github.com/os2display/admin/pull/20 gets merged).\n```shell\n{\n  \"require\": {\n    \"cweagans/composer-patches\": \"~1.0\",\n  },\n  \"extra\": {\n    \"patches\": {\n      \"os2display/admin-bundle\": {\n        \"Switch to supporting a separate configuration for the public search hostname\": \"patches/admin-bundle-public-search.patch\"\n      }\n    }\n  }\n}\n```\n\n## Development\nTo get started you need the following:\n1. Install [Docker](https://docs.docker.com/install/)\n2. Install [Docker Compose](https://docs.docker.com/compose/install/)\n3. Install [Dory](https://github.com/FreedomBen/dory). - Something similiar will do. dnsmasq, or another project that can provide access to the containers via the `VIRTUAL_HOST` environments-specified in docker-compose.\n4. `dory up`\n5. `make clone-admin`\n6. `make reset-dev` or `make reset-dev-nfs` (see below)\n7. `make run-gulp`\n\nWhen you have made changes to slides or screens you might want to run `make run-gulp`\nagain.\n\nAfter reset the site will be available at https://admin.reload-os2display.docker\n\n## NFS\nDocker For Mac is notoriously slow when it comes to \"bind\" mounts. In order to support this better the setup supports mounting the code-base via NFS with two caveats.\n\n1. A compatible /etc/exports has to be set up in advance, eg. sees https://forums.docker.com/t/nfs-native-support/48531\n2. The mount will display all files as being owned by the same user, any attempts to change the ownership or permissions will be rejected. This may cause problems if you need your code to handle ownerships\n\nThe setup is currently unable to auto-detect whether to use NFS, so instead you have to explicitly reset using\n\n```bash\nmake reset-dev-nfs\n```\n\n## Testing a release\n```bash\nmake reset-release\n```\n\n## Other\nSee Makefile and the [documentation](documentation) for more details or feel\nfree to contact the authors for more details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freload%2Fos2display-docker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Freload%2Fos2display-docker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Freload%2Fos2display-docker/lists"}