Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/joatmon08/consul-ecs
This is not an officially supported HashiCorp image. It demonstrates the minimal configuration for running Consul on ECS.
https://github.com/joatmon08/consul-ecs
Last synced: 25 days ago
JSON representation
This is not an officially supported HashiCorp image. It demonstrates the minimal configuration for running Consul on ECS.
- Host: GitHub
- URL: https://github.com/joatmon08/consul-ecs
- Owner: joatmon08
- Created: 2020-09-23T20:43:13.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2021-07-08T17:26:06.000Z (over 3 years ago)
- Last Synced: 2024-10-27T07:51:06.609Z (2 months ago)
- Language: Shell
- Homepage: https://hub.docker.com/repository/docker/joatmon08/consul-ecs
- Size: 31.3 KB
- Stars: 3
- Watchers: 3
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Docker Image for Running Consul on ECS
> Note: This is *not* an officially supported HashiCorp image. It demonstrates the minimal configuration for running Consul on ECS.
This container image contains a number of automated steps
to run on Amazon ECS.It can run as a Consul client or proxy.
## Required Environment Variables
- CONSUL_HTTP_TOKEN.
- CONSUL_CA_PEM to base64 encoded contents of server ca.pem file. (client mode)
- CONSUL_GOSSIP_ENCRYPT to gossip encryption key. (client mode)
- SERVICE_NAME to service name. (proxy mode)
- SERVICE_PORT to service port. (proxy mode)## Optional Environment Variables
- CONSUL_CACERT will default to /consul/tls.crt.
- CONSUL_HTTP_ADDR will default to EC2 Host IP.
- CONSUL_DATACENTER will default to dc1.
- SERVICE_ID will default to ${SERVICE_NAME}.
- CONSUL_SERVICE_UPSTREAMS will default to [].
- SIDECAR_PORT will default to 21000.
- SERVICE_HEALTH_CHECK_PATH will default to /.
- SERVICE_HEALTH_CHECK_INTERVAL will default to 1s.
- SERVICE_HEALTH_CHECK_TIMEOUT will default to 1s.