From b906d37f279ebac4f4407ce5dcc07292da48b815 Mon Sep 17 00:00:00 2001 From: David Wilkie Date: Mon, 15 Apr 2024 15:18:48 +0700 Subject: [PATCH] WIP --- components/freeswitch_event_logger/Dockerfile | 2 +- components/opensips_scheduler/Dockerfile | 2 +- infrastructure/staging/main.tf | 8 ++++---- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/components/freeswitch_event_logger/Dockerfile b/components/freeswitch_event_logger/Dockerfile index cc614b20e..df02eb7ee 100644 --- a/components/freeswitch_event_logger/Dockerfile +++ b/components/freeswitch_event_logger/Dockerfile @@ -1,4 +1,4 @@ -FROM golang:alpine AS builder +FROM public.ecr.aws/docker/library/golang:alpine AS builder WORKDIR /app COPY . ./ RUN CGO_ENABLED=0 GOOS=linux go build -ldflags "-s -w" . diff --git a/components/opensips_scheduler/Dockerfile b/components/opensips_scheduler/Dockerfile index 15bcf6d6e..be71a6274 100644 --- a/components/opensips_scheduler/Dockerfile +++ b/components/opensips_scheduler/Dockerfile @@ -1,4 +1,4 @@ -FROM alpine:latest +FROM public.ecr.aws/docker/library/alpine:latest COPY docker-entrypoint.sh /docker-entrypoint.sh COPY opensips_scheduler.sh /usr/local/bin/opensips_scheduler diff --git a/infrastructure/staging/main.tf b/infrastructure/staging/main.tf index eea55d79f..af3a96e38 100644 --- a/infrastructure/staging/main.tf +++ b/infrastructure/staging/main.tf @@ -63,13 +63,13 @@ module "somleng_switch_staging" { sip_port = 6060 sip_alternative_port = 6080 - switch_min_tasks = 1 + switch_min_tasks = 0 switch_max_tasks = 2 - public_gateway_min_tasks = 1 + public_gateway_min_tasks = 0 public_gateway_max_tasks = 2 - client_gateway_min_tasks = 2 + client_gateway_min_tasks = 0 client_gateway_max_tasks = 2 - media_proxy_min_tasks = 1 + media_proxy_min_tasks = 0 media_proxy_max_tasks = 2 assign_client_gateway_eips = false assign_media_proxy_eips = false