dockersamples / example-voting-app

Example distributed app composed of multiple containers for Docker, Compose, Swarm, and Kubernetes
Apache License 2.0
4.75k stars 11k forks source link

Add `REDIS_HOST` and `POSTGRES_HOST` option from env #370

Open candonov opened 2 months ago

candonov commented 2 months ago

PLEASE ONLY USE THIS ISSUE TRACKER TO SUBMIT ISSUES WITH THE EXAMPLE VOTING APP

Please provide the following information so we can assess the issue you're having

Description

Redis and postgres hosts are hard-coded. Add option to override them.

Describe the results you received:

Testing application on EKS cluster with ElastiCache for Redis and RDS db for postgres.

Describe the results you expected:

Additional information you deem important (e.g. issue happens only occasionally):

Output of docker version:

(paste your output here)

Output of docker info:

(paste your output here)

Additional environment details (AWS, Docker for Mac, Docker for Windows, VirtualBox, physical, etc.):