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