@cloak-db/app 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/cli.js +2 -1
  2. package/package.json +1 -1
package/dist/cli.js CHANGED
@@ -7,7 +7,7 @@ import { join } from "path";
7
7
  import { parseArgs } from "util";
8
8
  var IMAGE_NAME = "ghcr.io/cloak-db/app";
9
9
  var DEFAULT_PORT = 3e3;
10
- var CLI_VERSION = "0.2.3";
10
+ var CLI_VERSION = "0.2.4";
11
11
  function printHelp() {
12
12
  console.log(`
13
13
  Cloak DB - Local-first database studio
@@ -90,6 +90,7 @@ function runContainer(options) {
90
90
  `${options.port}:3000`,
91
91
  "-v",
92
92
  `${hostConfigDir}:${containerConfigDir}`,
93
+ "--add-host=host.docker.internal:host-gateway",
93
94
  image
94
95
  ],
95
96
  { stdio: "inherit" }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cloak-db/app",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "Run Cloak DB locally with Docker",
5
5
  "type": "module",
6
6
  "bin": {