{"id":13739793,"url":"https://github.com/sbdchd/dhall-docker-compose","last_synced_at":"2025-04-15T11:13:26.096Z","repository":{"id":52445688,"uuid":"196123660","full_name":"sbdchd/dhall-docker-compose","owner":"sbdchd","description":":dash: A library for writing Docker Compose files in Dhall.","archived":false,"fork":false,"pushed_at":"2024-08-03T12:14:41.000Z","size":28,"stargazers_count":25,"open_issues_count":1,"forks_count":18,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-15T11:13:12.507Z","etag":null,"topics":["dhall","dhall-lang","docker-compose","yaml"],"latest_commit_sha":null,"homepage":"","language":"Dhall","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/sbdchd.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-07-10T03:21:50.000Z","updated_at":"2024-08-03T12:14:45.000Z","dependencies_parsed_at":"2022-09-09T04:26:36.318Z","dependency_job_id":"814b4f71-8e99-4215-bb2d-76f1c5141721","html_url":"https://github.com/sbdchd/dhall-docker-compose","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/sbdchd%2Fdhall-docker-compose","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbdchd%2Fdhall-docker-compose/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbdchd%2Fdhall-docker-compose/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sbdchd%2Fdhall-docker-compose/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sbdchd","download_url":"https://codeload.github.com/sbdchd/dhall-docker-compose/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249058384,"owners_count":21205911,"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":["dhall","dhall-lang","docker-compose","yaml"],"created_at":"2024-08-03T04:00:37.698Z","updated_at":"2025-04-15T11:13:26.072Z","avatar_url":"https://github.com/sbdchd.png","language":"Dhall","funding_links":[],"categories":["yaml","Libraries"],"sub_categories":[],"readme":"# dhall-docker-compose\n\n\u003e A library for writing [Docker Compose](https://docs.docker.com/compose/)\n\u003e files in [Dhall](https://dhall-lang.org).\n\n**Note:** Only version 3.0 of the Docker Compose config is supported currently.\n\nIf you wish to add another version it is probably worth spending the time to\nwrite a json-spec to dhall converter. See [dhall-kubernetes'\ngenerator](https://github.com/dhall-lang/dhall-kubernetes).\n\n## Why?\n\nTo experiment with Dhall for config.\n\n## Usage\n\n```dhall\n-- for the imports in your docker-compose.dhall file you should either download\n-- the dhall files or use the URL imports.\nlet Compose = ./compose/v3/package.dhall\n\nin Compose.Config::{\n  -- your config here\n}\n```\n\n## Dev\n\n1. [install dhall-to-yaml](https://github.com/dhall-lang/dhall-lang/wiki/Getting-started%3A-Generate-JSON-or-YAML#os-x---install-using-brew)\n\n   \u003e `brew install dhall-json`\n\n2. generate yaml\n\n```sh\ndhall-to-yaml --file example/docker-compose-deploy.dhall --output ./example/docker-compose-deploy.yml --explain\n```\n\nNote that the yaml keys are alphabetized in the generated yaml.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbdchd%2Fdhall-docker-compose","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsbdchd%2Fdhall-docker-compose","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsbdchd%2Fdhall-docker-compose/lists"}