Skip to content

Commit

Permalink
update run.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
naisanzaa committed Aug 6, 2024
1 parent a0b55f7 commit 61de72d
Showing 1 changed file with 1 addition and 14 deletions.
15 changes: 1 addition & 14 deletions run.sh
Original file line number Diff line number Diff line change
Expand Up @@ -14,17 +14,6 @@ if [ "$@" == "--dump-config" ]; then
-v veilid-server-data:/var/db/veilid-server \
ghcr.io/theshellland/veilid-node:latest \
--dump-config
elif [ -z "$@" ]; then
docker rm -f veilid-server 2>/dev/null || true
docker run -d --name veilid-server --net veilid \
-v veilid-server-config:/config \
-v veilid-server-node:/root/.local/share/veilid/ \
-v veilid-server-logs:/logs \
-v veilid-server-data:/var/db/veilid-server \
-e DEBUG=false \
--restart always \
ghcr.io/theshellland/veilid-node:latest \
"$@"
else
docker rm -f veilid-server 2>/dev/null || true
docker run -d --name veilid-server --net veilid \
Expand All @@ -33,9 +22,7 @@ else
-v veilid-server-logs:/logs \
-v veilid-server-data:/var/db/veilid-server \
-e DEBUG=false \
-p 5959:5959 \
-p 5150:5150 \
--restart always \
ghcr.io/theshellland/veilid-node:latest \
$@
"$@"
fi

0 comments on commit 61de72d

Please sign in to comment.