hippofish/scripts/db-up.mjs

13 lines
321 B
JavaScript
Raw Normal View History

import path, { join } from "node:path";
import { fileURLToPath } from "node:url";
import { execa } from "execa";
(async () => {
const __dirname = path.dirname(fileURLToPath(import.meta.url));
execa("podman-compose", ["up", "--detach"], {
cwd: join(__dirname, "/../dev/db-container"),
stdio: "inherit",
});
})();