Skip to content

Commit 35abf5d

Browse files
Small fixes for start and stop script (#244)
* Small fixes for start and stop script * change bat * Adds quotes for path if there are spaces --------- Co-authored-by: JWittmeyer <[email protected]>
1 parent 4e2fb1f commit 35abf5d

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

start

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,8 @@ docker pull kernai/alfred:v1.8.0
1212

1313
docker run -d --rm --name alfred \
1414
-v /var/run/docker.sock:/var/run/docker.sock \
15-
-v $PWD/refinery:/refinery \
15+
-v "$PWD/refinery:/refinery" \
1616
kernai/alfred:v1.8.0 \
17-
python start.py $PWD/refinery $MINIO_ENDPOINT > /dev/null 2>&1
17+
python start.py "$PWD/refinery" $MINIO_ENDPOINT
1818

1919
docker logs -f alfred

stop

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
#!/bin/bash
22

3-
docker-compose -f refinery/docker-compose.yml down --remove-orphans
3+
docker compose -f refinery/docker-compose.yml down --remove-orphans

stop.bat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@echo off
22

3-
docker-compose -f refinery\docker-compose.yml down --remove-orphans
3+
docker compose -f refinery\docker-compose.yml down --remove-orphans
44

55
if "%1" neq "update" pause

0 commit comments

Comments
 (0)