chore: improve logging

Update README with version warning

Update Ironmount image version to v0.2.0
This commit is contained in:
Nicolas Meienberger
2025-10-06 21:21:33 +02:00
parent d16be6cbca
commit 15f0dc637d
3 changed files with 7 additions and 6 deletions

View File

@@ -15,7 +15,8 @@
</figure>
</div>
<br />
> [!WARNING]
> Ironmount is still in version 0.x.x and is subject to major changes from version to version. I am developing the core features and collecting feedbacks. Expect bugs! Please open issues and join the Discord to discuss together
## Intro
@@ -41,7 +42,7 @@ In order to run Ironmount, you need to have Docker and Docker Compose installed
```yaml
services:
ironmount:
image: ghcr.io/nicotsx/ironmount:v0.1.1
image: ghcr.io/nicotsx/ironmount:v0.2.0
container_name: ironmount
restart: unless-stopped
cap_add:

View File

@@ -1,12 +1,12 @@
import * as fs from "node:fs/promises";
import * as npath from "node:path";
import { BACKEND_STATUS, type BackendConfig } from "@ironmount/schemas";
import type { VolumeBackend } from "../backend";
import { logger } from "../../../utils/logger";
import { toMessage } from "../../../utils/errors";
import { logger } from "../../../utils/logger";
import type { VolumeBackend } from "../backend";
const mount = async (_config: BackendConfig, path: string) => {
logger.info("Mounting directory volume...");
logger.info("Mounting directory volume...", path);
await fs.mkdir(path, { recursive: true });
return { status: BACKEND_STATUS.mounted };
};

View File

@@ -21,7 +21,7 @@ export const startup = async () => {
existingTasks.forEach(async (task) => await task.destroy());
schedule("* * * * *", async () => {
logger.info("Running health check for all volumes...");
logger.debug("Running health check for all volumes...");
const volumes = await db.query.volumesTable.findMany({
where: or(eq(volumesTable.status, "mounted"), eq(volumesTable.status, "error")),