Pass redis host
This commit is contained in:
@ -16,6 +16,10 @@ Parameters:
|
|||||||
Type: String
|
Type: String
|
||||||
Default: "latest"
|
Default: "latest"
|
||||||
|
|
||||||
|
RedisHostname:
|
||||||
|
Description: Redis host to connect to
|
||||||
|
Type: String
|
||||||
|
|
||||||
Resources:
|
Resources:
|
||||||
|
|
||||||
LogGroup:
|
LogGroup:
|
||||||
@ -36,6 +40,9 @@ Resources:
|
|||||||
- HostPort: 7778
|
- HostPort: 7778
|
||||||
ContainerPort: 7778
|
ContainerPort: 7778
|
||||||
Protocol: tcp
|
Protocol: tcp
|
||||||
|
Environment:
|
||||||
|
- Name: REDIS_HOSTNAME
|
||||||
|
Value: !Ref RedisHostname
|
||||||
LogConfiguration:
|
LogConfiguration:
|
||||||
LogDriver: awslogs
|
LogDriver: awslogs
|
||||||
Options:
|
Options:
|
||||||
|
Reference in New Issue
Block a user