{"id":18375801,"url":"https://github.com/factomproject/communitytestnet","last_synced_at":"2025-10-19T20:14:37.372Z","repository":{"id":67059406,"uuid":"118816832","full_name":"FactomProject/communitytestnet","owner":"FactomProject","description":"Work related to community testnet","archived":false,"fork":false,"pushed_at":"2019-12-18T20:33:39.000Z","size":59,"stargazers_count":2,"open_issues_count":2,"forks_count":8,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-11T04:39:54.814Z","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/FactomProject.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":"2018-01-24T20:15:27.000Z","updated_at":"2019-12-18T20:33:42.000Z","dependencies_parsed_at":"2023-02-22T13:45:27.120Z","dependency_job_id":null,"html_url":"https://github.com/FactomProject/communitytestnet","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/FactomProject%2Fcommunitytestnet","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FactomProject%2Fcommunitytestnet/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FactomProject%2Fcommunitytestnet/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FactomProject%2Fcommunitytestnet/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FactomProject","download_url":"https://codeload.github.com/FactomProject/communitytestnet/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248345272,"owners_count":21088241,"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-06T00:20:26.417Z","updated_at":"2025-10-19T20:14:32.324Z","avatar_url":"https://github.com/FactomProject.png","language":"Dockerfile","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Community Test Net\n\nSpinning up a factom node on the community testnet as well as monitoring tools. The docker image for factomd will enable Factom developers to have ssh access to docker container.\n\n\nSee [Quickstart guide](Quickstart.md) for instructions\n\n# Useful commands\n\n### Listing containers\n\n```\ndocker ps\n```\n```\ndocker-compose ps\n```\n\n### Viewing the stdout logs\n\nSingle container:\n\n```\ndocker logs \u003ccontainer_name\u003e\n```\n```\ndocker logs \u003ccontainer_name\u003e -f\n```\n\nAll containers:\n\n```\ndocker-compose logs\n```\n```\ndocker-compose logs -f\n```\n\n### Logging into a container\n\n```\ndocker exec -it \u003ccontainer_name\u003e bash\n```\n\n### Stopping a single container\n\nTo gracefully shutdown a container (the application receives a SIGTERM signal):\n\n```\ndocker stop \u003ccontainer_name\u003e\n```\n\nTo kill the container:\n\n```\ndocker kill \u003ccontainer_name\u003e\n```\n\n### Getting IP addresses\n\nDisplay all containers with all networks they belong to and their static /\nassigned IP addresses in a network:\n\n```\ndocker inspect -f '{{.Name}} - {{range $name, $net := .NetworkSettings.Networks}}{{$name}}:{{$net.IPAddress}} {{end}}' $(docker ps -aq)\n```\n\n### Prometheus\n\n*Prometheus* periodically gathers metrics from a all *factomd* instances. The\nbuilt-in web UI is exposed to the local host using port `9090`.\n\nNote that *Prometheus* is pull-based, so it fetches metrics from *factomd*\ninstances, not the other way around, so to add monitoring for your local nodes,\nyou'll need to modify its configuration and rebuild the container.\n\nThe configuration for *Prometheus* is copied during the build from\n`prometheus/config/prometheus.yml`. Currently it pull metrics from all 3\ninstances and labels them using the instance name.\n\n## Known issues\n\n* If you are running this setup in a *Docker for Mac* or a *Docker for Windows*\n  environment you might want to adjust the CPU and Memory settings\n  (*Preferences...* -\u003e *Advanced*), since the services started in this setup\n  may require more than the defaults. It may also be useful to bump the default\n  *docker-compose* HTTP timeout setting if you see some problems during\n  startup, e.g.:\n\n```\nCOMPOSE_HTTP_TIMEOUT=120 docker-compose up\n```\n\n* The `factomd` instances sometimes exit after the first build, another\n  `docker-compose up` command should bring start them correctly.\n\n* There is an issue when using the environment on Mac OS:\n\n```\nERROR: for kibana  Cannot start service kibana: driver failed programming\nexternal connectivity on endpoint kibana\n(7e6b3eaddf72eb60f384edff6d5c0bbac759af0cf5c24cfaff646ec558815cd5): Timed out\nproxy starting the userland proxy\n```\n\nUnfortunately this is an unresolved *Docker for Mac* issue for which there is\nno good solution (restarting does not help), you'll need to retry until it\nsucceeds.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffactomproject%2Fcommunitytestnet","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffactomproject%2Fcommunitytestnet","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffactomproject%2Fcommunitytestnet/lists"}