Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
dwilkie committed Oct 20, 2023
1 parent 5da273e commit d08d7d9
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
4 changes: 2 additions & 2 deletions components/gateway/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# https://apt.opensips.org/packages.php?os=bookworm

FROM debian:bookworm-slim AS bootstrap
FROM public.ecr.aws/debian/debian:bookworm-slim AS bootstrap

USER root

Expand Down Expand Up @@ -30,7 +30,7 @@ CMD ["create_db"]

# Build

FROM debian:bookworm-slim AS build
FROM public.ecr.aws/debian/debian:bookworm-slim AS build

USER root

Expand Down
2 changes: 1 addition & 1 deletion components/testing/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM alpine:latest
FROM public.ecr.aws/debian/alpine:latest

RUN apk update && apk upgrade && apk add --update --no-cache sipp curl postgresql-client bind-tools

Expand Down
6 changes: 6 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ services:
context: components/gateway
target: bootstrap
image: gateway:bootstrap
platform: linux/amd64
environment:
DATABASE_USERNAME: "postgres"
DATABASE_PASSWORD:
Expand All @@ -30,6 +31,7 @@ services:
context: components/gateway
target: public_gateway
image: public_gateway:latest
platform: linux/amd64
environment:
DATABASE_URL: "postgres://postgres:@host.docker.internal:5432/opensips_public_gateway_test"
FIFO_NAME: /opensips/fifo/public_gateway
Expand All @@ -51,6 +53,7 @@ services:
context: components/gateway
target: client_gateway
image: client_gateway:latest
platform: linux/amd64
environment:
DATABASE_URL: "postgres://postgres:@host.docker.internal:5432/opensips_client_gateway_test"
FIFO_NAME: /opensips/fifo/client_gateway
Expand All @@ -70,6 +73,7 @@ services:
build:
context: components/media_proxy
image: media_proxy:latest
platform: linux/amd64
extra_hosts:
- "host.docker.internal:host-gateway"
healthcheck:
Expand All @@ -84,6 +88,7 @@ services:
build:
context: components/freeswitch
image: freeswitch:latest
platform: linux/amd64
environment:
FS_EXTERNAL_RTP_IP: "13.250.230.15"
FS_ALTERNATIVE_RTP_IP: "18.141.245.230"
Expand All @@ -103,6 +108,7 @@ services:
build:
context: components/app
image: switch-app:latest
platform: linux/amd64
environment:
AHN_CORE_HOST: freeswitch
CALL_PLATFORM_STUB_RESPONSES: "true"
Expand Down

0 comments on commit d08d7d9

Please sign in to comment.