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