From f90bb1ffd307e30541639ab930dc08c01ce2e98c Mon Sep 17 00:00:00 2001 From: Christian_Yemele Date: Fri, 6 Dec 2024 08:18:56 +0100 Subject: [PATCH] fix(): env path adjustment --- .env | 2 +- Dockerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.env b/.env index 2952ea7e..e8e031c9 100644 --- a/.env +++ b/.env @@ -2,4 +2,4 @@ SERVER_PUBLIC_DOMAIN="http://didcomm-mediator.com" SERVER_LOCAL_PORT="8080" STORAGE_DIRPATH="crates/generic-server/target/storage" MONGO_DBN="mediator-coordination" -MONGO_URI="mongodb://localhost:27017" +MONGO_URI="mongodb://mongodb:27017" diff --git a/Dockerfile b/Dockerfile index beef8efc..1614b6ca 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,7 @@ ENV STORAGE_DIRPATH="crates/generic-server/target/storage" COPY --from=builder /app/target/release/didcomm-mediator /usr/local/bin/didcomm-mediator # Copy the default .env file -COPY .env /app/.env +COPY .env ./.env # Expose the necessary port EXPOSE 8080