Add Nakama docker image parameter
This commit is contained in:
		@ -4,6 +4,10 @@ Parameters:
 | 
				
			|||||||
  ServerName:
 | 
					  ServerName:
 | 
				
			||||||
    Type: String
 | 
					    Type: String
 | 
				
			||||||
    Default: "nakama-default"
 | 
					    Default: "nakama-default"
 | 
				
			||||||
 | 
					  NakamaContainer:
 | 
				
			||||||
 | 
					    Type: String
 | 
				
			||||||
 | 
					    Description: test
 | 
				
			||||||
 | 
					    Default: "heroiclabs/nakama:2.7.0"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
  #----------------------------
 | 
					  #----------------------------
 | 
				
			||||||
  # Admin Portal Configuration
 | 
					  # Admin Portal Configuration
 | 
				
			||||||
@ -62,7 +66,7 @@ Resources:
 | 
				
			|||||||
      ContainerDefinitions:
 | 
					      ContainerDefinitions:
 | 
				
			||||||
      - Name: nakama
 | 
					      - Name: nakama
 | 
				
			||||||
        Essential: 'true'
 | 
					        Essential: 'true'
 | 
				
			||||||
        Image: "heroiclabs/nakama:2.7.0"
 | 
					        Image: !Ref NakamaContainer
 | 
				
			||||||
        MemoryReservation: 800
 | 
					        MemoryReservation: 800
 | 
				
			||||||
        PortMappings:
 | 
					        PortMappings:
 | 
				
			||||||
        - HostPort: 0
 | 
					        - HostPort: 0
 | 
				
			||||||
 | 
				
			|||||||
@ -39,6 +39,10 @@ Parameters:
 | 
				
			|||||||
  #----------------------
 | 
					  #----------------------
 | 
				
			||||||
  # Nakama Configuration
 | 
					  # Nakama Configuration
 | 
				
			||||||
  #----------------------
 | 
					  #----------------------
 | 
				
			||||||
 | 
					  NakamaContainer:
 | 
				
			||||||
 | 
					    Type: String
 | 
				
			||||||
 | 
					    Description: Container image for Nakama server
 | 
				
			||||||
 | 
					    Default: "heroiclabs/nakama:2.7.0"
 | 
				
			||||||
  NakamaUsername:
 | 
					  NakamaUsername:
 | 
				
			||||||
    Type: String
 | 
					    Type: String
 | 
				
			||||||
    Description: Username to access the Nakama admin portal
 | 
					    Description: Username to access the Nakama admin portal
 | 
				
			||||||
@ -186,6 +190,7 @@ Resources:
 | 
				
			|||||||
    Properties:
 | 
					    Properties:
 | 
				
			||||||
      TemplateURL: !Sub 'https://s3.us-east-1.amazonaws.com/sumu-stacks/nakama/${release}/cloudformation/nakama/task.yaml'
 | 
					      TemplateURL: !Sub 'https://s3.us-east-1.amazonaws.com/sumu-stacks/nakama/${release}/cloudformation/nakama/task.yaml'
 | 
				
			||||||
      Parameters:
 | 
					      Parameters:
 | 
				
			||||||
 | 
					        NakamaContainer: !Ref NakamaContainer
 | 
				
			||||||
        DatabaseUsername: !If ["CreateRdsStack", !GetAtt RdsDatabase.Outputs.RdsUsername, !Ref DatabaseUsername]
 | 
					        DatabaseUsername: !If ["CreateRdsStack", !GetAtt RdsDatabase.Outputs.RdsUsername, !Ref DatabaseUsername]
 | 
				
			||||||
        DatabasePassword: !If ["CreateRdsStack", !Join ["", ["{{resolve:secretsmanager:", !GetAtt RdsDatabase.Outputs.RdsSecret, ":SecretString}}" ]], !Ref DatabasePassword]
 | 
					        DatabasePassword: !If ["CreateRdsStack", !Join ["", ["{{resolve:secretsmanager:", !GetAtt RdsDatabase.Outputs.RdsSecret, ":SecretString}}" ]], !Ref DatabasePassword]
 | 
				
			||||||
        DatabaseEndpoint: !If ["CreateRdsStack", !GetAtt RdsDatabase.Outputs.RdsEnpoint, !Ref DatabaseEndpoint]
 | 
					        DatabaseEndpoint: !If ["CreateRdsStack", !GetAtt RdsDatabase.Outputs.RdsEnpoint, !Ref DatabaseEndpoint]
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user