{"id":22487527,"url":"https://github.com/fluree/ledger-docker-compose-example","last_synced_at":"2026-01-28T14:12:51.672Z","repository":{"id":48993873,"uuid":"240260976","full_name":"fluree/ledger-docker-compose-example","owner":"fluree","description":"Simple example for creating a Fluree service in a Docker container","archived":false,"fork":false,"pushed_at":"2021-10-08T19:14:58.000Z","size":42,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":15,"default_branch":"main","last_synced_at":"2024-12-06T17:17:05.993Z","etag":null,"topics":["cluster","containers","docker","docker-compose","fluree"],"latest_commit_sha":null,"homepage":"","language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fluree.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}},"created_at":"2020-02-13T12:58:54.000Z","updated_at":"2022-03-03T20:57:43.000Z","dependencies_parsed_at":"2022-09-19T16:51:38.598Z","dependency_job_id":null,"html_url":"https://github.com/fluree/ledger-docker-compose-example","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fluree/ledger-docker-compose-example","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluree%2Fledger-docker-compose-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluree%2Fledger-docker-compose-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluree%2Fledger-docker-compose-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluree%2Fledger-docker-compose-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fluree","download_url":"https://codeload.github.com/fluree/ledger-docker-compose-example/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fluree%2Fledger-docker-compose-example/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268448362,"owners_count":24252019,"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","status":"online","status_checked_at":"2025-08-02T02:00:12.353Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cluster","containers","docker","docker-compose","fluree"],"created_at":"2024-12-06T17:16:48.541Z","updated_at":"2026-01-28T14:12:51.624Z","avatar_url":"https://github.com/fluree.png","language":null,"funding_links":[],"categories":["Others"],"sub_categories":[],"readme":"# Fluree ledger docker-compose example\n\nThis project provides an example of how to serve Fluree instances in Docker\ncontainers using docker compose.\n\n## Get Started\n\nClone or download this repository onto your machine.\n\n```bash\ngit clone https://github.com/fluree/ledger-docker-compose-example.git\n\ncd ledger-docker-compose-example\n```\n\n## Single-Node Fluree\n\nIf you want to run Fluree as a single, centralized server, you can do so by\njust running `docker compose up` in the directory where you cloned this\nrepo.\n\nNavigate to [`https://localhost:8090/`](https://localhost:8090/) to see the administrative user interface.\n\n## Multi-Node Fluree\n\n\u003e Note: Docker Desktop RAM defaults may be too low for running Fluree in a multi-node\n\u003e configuration locally. We generally recommend 2-3GB of RAM per node, so for this example,\n\u003e 8GB should suffice.  \n\nTo run a Fluree network with three servers, simply issue: `docker compose -f docker-compose.cluster.yml up`.\n\nIf you want to run a network with a different number of servers, you can edit the\n`docker compose.cluster.yml` file to include more servers.\n\n\u003e It is recommended to only run 3 or 5 node clusters. Due to the\nway the raft consensus protocol works running 2, 4, or 6-node (or larger)\nclusters either adds no additional redundancy or introduces more overhead\nthan it is worth.\n\n## Customizing Fluree\n\nBoth the single-node and multi-node configurations of Fluree will work\nwithout changing any of the configurations. However, if you want to change\nany of the node's configurations, you can do so by passing in environment\nvariables.\n\nInformation regarding configurable Fluree settings is available online. The\n[`Getting Started -\u003e Installation`](https://docs.flur.ee/docs/1.0.0/getting-started/installation) section provides insight on installing\nand customizing Fluree .\n\n## Verify container\n\nThe Docker Dashboard is useful to verify/access the container and fluree\nservice. Via the dashboard, you can inspect environment settings, review\nlogs, open a CLI terminal session and even browse to the Fluree Admin UI\nsite.\n\nIf you are a command-line aficionado, the following commands are useful to verify that your Fluree service is up and running:\n\n---\n\n**command**: `docker ps`\n\n| CONTAINER ID | IMAGE                | COMMAND                | CREATED       | STATUS       | PORTS                            | NAMES   |\n| ------------ | -------------------- | ---------------------- | ------------- | ------------ | -------------------------------- | ------- |\n| be006b7c70ec | fluree/ledger:latest | \"/usr/local/fluree/f…\" | 2 minutes ago | Up 2 minutes | 0.0.0.0:8080-\u003e8080/tcp, 9790/tcp | fluree1 |\n\n---\n\n## License\n\nThis project is licensed under the terms of the MIT license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluree%2Fledger-docker-compose-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffluree%2Fledger-docker-compose-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffluree%2Fledger-docker-compose-example/lists"}