Hi,
Hoping someone could give me an hand.
I have been using the very helpful Cloudformation template found on AWS marketplace AWS Marketplace: Nakama
My issue is that I need to use 1.13.1 to make use of the HMAC hash fixes it has but 1.10.0 is the last version deployed to the heroic-labs ECR repo. :
709825985650.dkr.ecr.us-east-1.amazonaws.com/heroic-labs/nakama:3.10.0-m1
So I assumed it would be as easy as changing the Image url from the heroic-labs ECR repo to the one used by docker-compose: registry.heroiclabs.com/heroiclabs/nakama:3.13.1
The image is pulled successfully and does indeed startup as seen in the log output. However it tries to connect to a database on localhost (default) and fails so it is clearly not picking up the “command” parameters supplied in the task def.
Looking at the Dockerfile in the nakama git repo (https://github.com/heroiclabs/nakama/blob/master/build/Dockerfile)
I can see it used entrypoint which makes sense looking at the docker-compose
ENTRYPOINT ["tini", "--", "/nakama/nakama"]
Therefore I am concluding that the 1.10.0 image in the heroic labs ECR has been modified to use command rather than entrypoint which is why the command parameters are being ignored. Therefore I have two possible ways out, change my task def to use entrypoint or encourage someone to update the marketplace ECR to include 1.13.1
thank you so much for any and all assistance
toby
btw I have modified the Cloudformation template to include HTTPS and gRPC functionality so if thats helpful to anyone I can post it.