{"id":21385369,"url":"https://github.com/touchifyapp/docker-nats","last_synced_at":"2025-10-05T12:53:07.491Z","repository":{"id":98958753,"uuid":"66455682","full_name":"touchifyapp/docker-nats","owner":"touchifyapp","description":"NATS cloud native messaging system with automatic cluster configuration in Docker 1.12+ Swarm mode.","archived":false,"fork":false,"pushed_at":"2016-08-24T15:26:35.000Z","size":7,"stargazers_count":5,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-13T15:42:35.491Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/touchifyapp.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2016-08-24T10:41:50.000Z","updated_at":"2017-10-24T20:43:13.000Z","dependencies_parsed_at":null,"dependency_job_id":"29fc7338-cb65-4f72-8f79-2fdb7680f1f4","html_url":"https://github.com/touchifyapp/docker-nats","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/touchifyapp/docker-nats","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/touchifyapp%2Fdocker-nats","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/touchifyapp%2Fdocker-nats/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/touchifyapp%2Fdocker-nats/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/touchifyapp%2Fdocker-nats/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/touchifyapp","download_url":"https://codeload.github.com/touchifyapp/docker-nats/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/touchifyapp%2Fdocker-nats/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278457470,"owners_count":25989956,"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-10-05T02:00:06.059Z","response_time":54,"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":[],"created_at":"2024-11-22T11:47:09.343Z","updated_at":"2025-10-05T12:53:07.486Z","avatar_url":"https://github.com/touchifyapp.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Supported tags and respective Dockerfile links\n\n*  [`0.9.4`, `0.9`, `latest` (Dockerfile)](https://github.com/touchifyapp/docker-nats/blob/master/Dockerfile)\n\nThis image is updated via [pull requests to the `touchifyapp/docker-nats` GitHub repo](https://github.com/touchifyapp/docker-nats/pulls).\n\n# [NATS](http://nats.io): A high-performance cloud native messaging system.\n\n![NATS logo](https://raw.githubusercontent.com/docker-library/docs/45d33e1726fed03a2a40363a9699e0587e713c55/nats/logo.png)\n\n`nats` is a high performance server for the NATS Messaging System.\n\n## How to use\n\n### As a simple container\n\n```\n# Run a NATS server\n# Each server exposes multiple ports\n# 4222 is for clients.\n# 8222 is an HTTP management port for information reporting.\n# 6222 is a routing port for clustering.\n# use -p or -P as needed.\n\n$ docker run -d --name nats-main touchify/nats\n```\n\n### As a Docker 1.12 service cluster\n\n```\n# Create a network overlay\n$ docker network create -d overlay events\n\n# Run a NATS cluster.\n# Use NATS_SERVICE_NAME variable to configure the cluster name.\n\n$ docker service create \\\n$     --name nats-cluster \\\n$     --env NATS_SERVICE_NAME=nats-cluster \\\n$     --network events \\\n$     --replicas 3 \\\n$     touchify/nats\n```\n\n## Environments variables\n\n```\nCluster Options:\n    NATS_SERVICE_NAME                For use in Docker 1.12 in Swarm mode.\n                                     Should equal to Docker service name in Swarm.\n                                     Used to configure the NATS cluster.\n\nCluster authentication Options :\n    NATS_CLUSTER_USER                User for cluster authentication.\n    NATS_CLUSTER_PASSWORD            Password for cluster authentication.\n    NATS_CLUSTER_TIMEOUT             Timeout for cluster authentication.\n```\n\n## Command line options\n\n```\nServer Options:\n    -a, --addr HOST                  Bind to HOST address (default: 0.0.0.0)\n    -p, --port PORT                  Use PORT for clients (default: 4222)\n    -P, --pid FILE                   File to store PID\n    -m, --http_port PORT             Use HTTP PORT for monitoring\n    -ms,--https_port PORT            Use HTTPS PORT for monitoring\n    -c, --config FILE                Configuration File\n\nLogging Options:\n    -l, --log FILE                   File to redirect log output\n    -T, --logtime                    Timestamp log entries (default: true)\n    -s, --syslog                     Enable syslog as log method\n    -r, --remote_syslog              Syslog server addr (udp://localhost:514)\n    -D, --debug                      Enable debugging output\n    -V, --trace                      Trace the raw protocol\n    -DV                              Debug and Trace\n\nAuthorization Options:\n        --user user                  User required for connections\n        --pass password              Password required for connections\n        --auth \u003ctoken\u003e               Authorization token required for connections\n\nTLS Options:\n        --tls                        Enable TLS, do not verify clients (default: false)\n        --tlscert FILE               Server certificate file\n        --tlskey FILE                Private key for server certificate\n        --tlsverify                  Enable TLS, very client certificates\n        --tlscacert FILE             Client certificate CA for verification\n\nCluster Options:\n        --routes \u003crurl-1, rurl-2\u003e    Routes to solicit and connect\n        --cluster \u003ccluster-url\u003e      Cluster URL for solicited routes\n        --no_advertise \u003cbool\u003e        Advertise known cluster IPs to clients\n\nCommon Options:\n    -h, --help                       Show this message\n    -v, --version                    Show version\n        --help_tls                   TLS help.\n```\n\n## License\n\nView [license information](https://github.com/touchifyapp/docker-nats/blob/master/LICENSE) for the software contained in this image.\n\n## Supported Docker versions\n\nThis image is officially supported on Docker version 1.12+.\n\nPlease see [the Docker installation documentation](https://docs.docker.com/installation/) for details on how to upgrade your Docker daemon.\n\n## User Feedback\n\n### Documentation\n\nDocumentation for this image is stored in [the `touchifyapp/docker-nats` GitHub repo](https://github.com/touchifyapp/docker-nats).\nBe sure to familiarize yourself with the repository's README.md file before attempting a pull request.\n\n### Issues\n\nIf you have any problems with or questions about this image, please contact us through a [GitHub issue](https://github.com/touchifyapp/docker-nats/issues).\n\n### Contributing\n\nYou are invited to contribute new features, fixes, or updates, large or small; we are always thrilled to receive pull requests, and do our best to process them as fast as we can.\n\nBefore you start to code, we recommend discussing your plans through a [GitHub issue](https://github.com/touchifyapp/docker-nats/issues), especially for more ambitious contributions. This gives other contributors a chance to point you in the right direction, give you feedback on your design, and help you find out if someone else is working on the same thing.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftouchifyapp%2Fdocker-nats","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftouchifyapp%2Fdocker-nats","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftouchifyapp%2Fdocker-nats/lists"}