diff --git a/services/docker-compose.yml b/services/docker-compose.yml --- a/services/docker-compose.yml +++ b/services/docker-compose.yml @@ -63,7 +63,7 @@ build: dockerfile: services/feature-flags/Dockerfile context: ../ - image: commapp/feature-flags:0.1 + image: commapp/feature-flags:0.1.1 ports: - '${COMM_SERVICES_PORT_FEATURE_FLAGS}:50051' volumes: diff --git a/services/feature-flags/Dockerfile b/services/feature-flags/Dockerfile --- a/services/feature-flags/Dockerfile +++ b/services/feature-flags/Dockerfile @@ -32,5 +32,4 @@ ENV RUST_LOG=info -# For compatibility with the existing Terraform config -CMD ["feature-flags", "--http-port", "50051"] +CMD ["feature-flags"] diff --git a/services/terraform/remote/service_feature_flags.tf b/services/terraform/remote/service_feature_flags.tf --- a/services/terraform/remote/service_feature_flags.tf +++ b/services/terraform/remote/service_feature_flags.tf @@ -1,7 +1,7 @@ locals { - feature_flags_image_tag = "0.1" + feature_flags_image_tag = local.is_staging ? "latest" : "0.1.1" feature_flags_container_name = "feature-flags-server" - feature_flags_container_port = 50051 + feature_flags_container_port = 50055 feature_flags_server_image = "commapp/feature-flags:${local.feature_flags_image_tag}" feature_flags_domain_name = "feature-flags.${local.root_domain}" } @@ -17,7 +17,7 @@ essential = true portMappings = [ { - name = "feature-flags-50051-http" + name = "feature-flags-http" containerPort = local.feature_flags_container_port protocol = "tcp" appProtocol = "http"