diff --git a/deploy b/deploy index d4a9988..45eaf7e 100755 --- a/deploy +++ b/deploy @@ -11,4 +11,10 @@ git pull docker build -t "$IMAGE_NAME" . docker stop "$CONTAINER_NAME" || true -docker run -d --name "$CONTAINER_NAME" --restart unless-stopped -p "$HOST_PORT:4000" "$IMAGE_NAME" +docker run -d \ + --name "$CONTAINER_NAME" \ + --restart unless-stopped \ + -p "$HOST_PORT:4000" \ + -v "$(pwd)/buckets:/app/buckets" \ + -v "$(pwd)/database.local.json:/app/database.local.json" \ + "$IMAGE_NAME"