From ca96fa1deb9bb049a94701742bfd81404b222750 Mon Sep 17 00:00:00 2001 From: Prad Nukala Date: Thu, 22 Aug 2024 10:06:31 -0400 Subject: [PATCH] build: Add Docker Compose configuration --- client/go.mod | 3 --- docker-compose.yaml | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 3 deletions(-) delete mode 100644 client/go.mod create mode 100644 docker-compose.yaml diff --git a/client/go.mod b/client/go.mod deleted file mode 100644 index a07a4b514..000000000 --- a/client/go.mod +++ /dev/null @@ -1,3 +0,0 @@ -module client - -go 1.22.0 diff --git a/docker-compose.yaml b/docker-compose.yaml new file mode 100644 index 000000000..eee0423b5 --- /dev/null +++ b/docker-compose.yaml @@ -0,0 +1,18 @@ +version: "3" + +services: + sonr: + build: . + environment: + - SECRET_VAR + - REDIS_HOST + - REDIS_PASSWORD + depends_on: + - ipfs + + ipfs: + build: . + environment: + - SECRET_VAR + - REDIS_HOST + - REDIS_PASSWORD