fix (dev): fix dev:{up,down,init} scripts
This commit is contained in:
parent
9a63f85567
commit
cc33cfbb3e
3 changed files with 11 additions and 2 deletions
|
@ -5,7 +5,11 @@ import { execa } from "execa";
|
||||||
(async () => {
|
(async () => {
|
||||||
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
||||||
|
|
||||||
execa("podman-compose", ["down"], {
|
execa("podman-compose", [
|
||||||
|
"--file",
|
||||||
|
"docker-compose-dbonly.yml",
|
||||||
|
"down",
|
||||||
|
], {
|
||||||
cwd: join(__dirname, "/../dev"),
|
cwd: join(__dirname, "/../dev"),
|
||||||
stdio: "inherit",
|
stdio: "inherit",
|
||||||
});
|
});
|
||||||
|
|
|
@ -5,7 +5,12 @@ import { execa } from "execa";
|
||||||
(async () => {
|
(async () => {
|
||||||
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
const __dirname = path.dirname(fileURLToPath(import.meta.url));
|
||||||
|
|
||||||
execa("podman-compose", ["up", "--detach"], {
|
execa("podman-compose", [
|
||||||
|
"--file",
|
||||||
|
"docker-compose-dbonly.yml",
|
||||||
|
"up",
|
||||||
|
"--detach",
|
||||||
|
], {
|
||||||
cwd: join(__dirname, "/../dev"),
|
cwd: join(__dirname, "/../dev"),
|
||||||
stdio: "inherit",
|
stdio: "inherit",
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue