From 93a5beec56cde56f47f2f395c3f0f0d99a49fe54 Mon Sep 17 00:00:00 2001 From: Ry Racherbaumer Date: Mon, 16 Sep 2024 10:44:34 -0500 Subject: [PATCH] Enable MLS in Docker container --- dev/docker-compose.yml | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/dev/docker-compose.yml b/dev/docker-compose.yml index 1ac227275..72530e426 100644 --- a/dev/docker-compose.yml +++ b/dev/docker-compose.yml @@ -1,5 +1,5 @@ services: - waku-node: + node: image: xmtp/node-go:latest platform: linux/amd64 environment: @@ -8,14 +8,29 @@ services: - --store.enable - --store.db-connection-string=postgres://postgres:xmtp@db:5432/postgres?sslmode=disable - --store.reader-db-connection-string=postgres://postgres:xmtp@db:5432/postgres?sslmode=disable + - --mls-store.db-connection-string=postgres://postgres:xmtp@mlsdb:5432/postgres?sslmode=disable + - --mls-validation.grpc-address=validation:50051 + - --api.enable-mls - --wait-for-db=30s - --api.authn.enable ports: - - 9001:9001 - 5555:5555 + - 5556:5556 depends_on: - db + - mlsdb + - validation + + validation: + image: ghcr.io/xmtp/mls-validation-service:main + platform: linux/amd64 + db: image: postgres:13 environment: POSTGRES_PASSWORD: xmtp + + mlsdb: + image: postgres:13 + environment: + POSTGRES_PASSWORD: xmtp